version

package
v3.1.17+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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.1.17"
	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"`
}

Jump to

Keyboard shortcuts

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