version

package
v1.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MinClusterVersion is the min cluster version this etcd binary is compatible with.
	MinClusterVersion = "2.1.0"
	Version           = "2.2.5"

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

Functions

func Cluster added in v1.1.2

func Cluster(v string) string

Cluster only keeps the major.minor.

Types

type DataDirVersion

type DataDirVersion string

WalVersion is an enum for versions of etcd logs.

const (
	DataDirUnknown  DataDirVersion = "Unknown WAL"
	DataDir2_0      DataDirVersion = "2.0.0"
	DataDir2_0Proxy DataDirVersion = "2.0 proxy"
	DataDir2_0_1    DataDirVersion = "2.0.1"
)

func DetectDataDir

func DetectDataDir(dirpath string) (DataDirVersion, error)

type Versions added in v1.0.6

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL