Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var (
    	// MinClusterVersion is the min cluster version this etcd binary is compatible with.
    	MinClusterVersion = "3.0.0"
    	Version           = "3.3.25"
    	APIVersion        = "unknown"
    
    	// Git SHA Value will be set during build
    	GitSHA = "Not provided (use ./build instead of go build)"
    )

    Functions

    func Cluster

    func Cluster(v string) string

      Cluster only keeps the major.minor.

      Types

      type Versions

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

      Source Files