Documentation ¶
Overview ¶
Package build contains build-related variables set at compile time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "N/A" ID = "N/A" Time = "N/A" GitSHA = "N/A" GitDirtyStr = "-1" GitDirty int )
Functions ¶
func PrettyJSON ¶
func PrettyJSON() string
func PrometheusBuildLabels ¶
func PrometheusBuildLabels() prometheus.Labels
PrometheusBuildLabels returns a map of the labels that will be exposed in the build_info metric
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.