version - ActiveState ActiveGo 1.8
...

Package version

import "github.com/coreos/etcd/version"
Overview
Index

Overview ▾

Package version implements etcd version parsing and contains latest version information.

Variables

var (
    // MinClusterVersion is the min cluster version this etcd binary is compatible with.
    MinClusterVersion = "3.0.0"
    Version           = "3.2.0"
    APIVersion        = "unknown"

    // Git SHA Value will be set during build
    GitSHA = "Not provided (use ./build instead of go build)"
)

func Cluster

func Cluster(v string) string

Cluster only keeps the major.minor.

type Versions

type Versions struct {
    Server  string `json:"etcdserver"`
    Cluster string `json:"etcdcluster"`
}