Documentation
¶
Overview ¶
Package version reports the Kubernetes server version from each cluster and detects fleet-wide skew.
Index ¶
Constants ¶
View Source
const Name = "version"
Name is the registry key for this scanner.
Variables ¶
This section is empty.
Functions ¶
func NewScanner ¶
NewScanner returns a scanner that retrieves the Kubernetes server version.
Types ¶
type Data ¶
type Data struct {
// Major is the major version number.
Major string `json:"major"`
// Minor is the minor version number.
Minor string `json:"minor"`
// GitVersion is the full version string (e.g. v1.28.3).
GitVersion string `json:"git_version"`
// Platform is the server platform (e.g. linux/amd64).
Platform string `json:"platform"`
}
Data holds Kubernetes server version information for one cluster.
Click to show internal directories.
Click to hide internal directories.