package version

import "go.etcd.io/etcd/api/v3/version"

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

Index

Variables

var (
	// MinClusterVersion is the min cluster version this etcd binary is compatible with.
	MinClusterVersion = "3.0.0"
	Version           = "3.5.18"
	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

version.go

Version
v3.5.18 (latest)
Published
Jan 24, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
5 days ago

Tools for package owners.