package version
import "github.com/coreos/etcd/version"
Index ¶
Variables ¶
var (
Version = "2.1.0-alpha.0"
)
Functions ¶
func MarshalJSON ¶
func MarshalJSON() []byte
MarshalJSON returns the JSON encoding of Versions struct.
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)
type Versions ¶
type Versions struct { Server string `json:"etcdserver"` }
Source Files ¶
- Version
- v2.1.0-alpha.0+incompatible
- Published
- Apr 23, 2015
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 1 day ago –
Tools for package owners.