Documentation
¶
Overview ¶
Package version defines the versioning scheme for byoh-agent downloadable binary
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitMajor string // major version, always numeric GitMinor string // minor version, numeric possibly followed by "+" GitVersion string // semantic version, derived by build scripts GitCommit string // sha1 from git, output of $(git rev-parse HEAD) GitTreeState string // state of git tree, either "clean" or "dirty" BuildDate string // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') )
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Major string `json:"major,omitempty"` Minor string `json:"minor,omitempty"` GitVersion string `json:"gitVersion,omitempty"` GitCommit string `json:"gitCommit,omitempty"` GitTreeState string `json:"gitTreeState,omitempty"` BuildDate string `json:"buildDate,omitempty"` GoVersion string `json:"goVersion,omitempty"` Compiler string `json:"compiler,omitempty"` Platform string `json:"platform,omitempty"` }
Info exposes information about the version used for the current running code.
Click to show internal directories.
Click to hide internal directories.