Documentation ¶ Index ¶ Variables type Version func GetVersion() Version func (v Version) String() string 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 } func GetVersion ¶ func GetVersion() Version GetVersion returns kube-state-metrics version func (Version) String ¶ func (v Version) String() string Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.