version

package
v2.0.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "2.0.12"

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

Functions

This section is empty.

Types

type DataDirVersion

type DataDirVersion string

WalVersion is an enum for versions of etcd logs.

const (
	DataDirUnknown  DataDirVersion = "Unknown WAL"
	DataDir0_4      DataDirVersion = "0.4.x"
	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)

Jump to

Keyboard shortcuts

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