Documentation
¶
Overview ¶
Package version supplies version information collected at build time to kubernetes components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct {
Major string `json:"major"`
Minor string `json:"minor"`
GitVersion string `json:"gitVersion"`
GitCommit string `json:"gitCommit"`
GitTreeState string `json:"gitTreeState"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Compiler string `json:"compiler"`
Platform string `json:"platform"`
}
Info contains versioning information. TODO: Add []string of api versions supported? It's still unclear how we'll want to distribute that information.
Directories
¶
Path | Synopsis |
---|---|
Package prometheus registers Kubernetes version information as a prometheus metric.
|
Package prometheus registers Kubernetes version information as a prometheus metric. |
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
|
Package verflag defines utility functions to handle command line flags related to version of Kubernetes. |
Click to show internal directories.
Click to hide internal directories.