Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Release returns the release version Release = "UNKNOWN" // Commit returns the short sha from git Commit = "UNKNOWN" // BuildDate is the build date BuildDate = "" )
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct { GitCommit string BuildDate string Release string GoVersion string Compiler string Platform string }
Version is the current version of kube-state-metrics. Update this whenever making a new release. The version is of the format Major.Minor.Patch
Increment major number for new feature additions and behavioral changes. Increment minor number for bug fixes and performance enhancements. Increment patch number for critical fixes to existing releases.
Click to show internal directories.
Click to hide internal directories.