Documentation ¶
Overview ¶
Package version implements version handling code.
Index ¶
Constants ¶
View Source
const ( // MinimumKubernetesVersion defines the minimum Kubernetes version that can be used in a Management Cluster. MinimumKubernetesVersion = "v1.20.0" // MinimumKubernetesVersionClusterTopology defines the minimum Kubernetes version that can be used in a // Management Cluster when enabling the ClusterTopology feature gate. MinimumKubernetesVersionClusterTopology = "v1.22.0" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct { Major string `json:"major,omitempty"` Minor string `json:"minor,omitempty"` GitVersion string `json:"gitVersion,omitempty"` GitCommit string `json:"gitCommit,omitempty"` GitTreeState string `json:"gitTreeState,omitempty"` BuildDate string `json:"buildDate,omitempty"` GoVersion string `json:"goVersion,omitempty"` Compiler string `json:"compiler,omitempty"` Platform string `json:"platform,omitempty"` }
Info exposes information about the version used for the current running code.
Click to show internal directories.
Click to hide internal directories.