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.0.0" Version = "2.2.0-alpha.0" // 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" 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)
Click to show internal directories.
Click to hide internal directories.