Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
BuildDate is the date when the binary was built
View Source
var Component string
Component is the versioned component
View Source
var GitCommit string
GitCommit is the commit hash when the binary was built
View Source
var Version string
Version is the version of the component
Functions ¶
func GetUserAgent ¶
func GetUserAgent() string
GetUserAgent is used to get the user agent string which is then provided to adal to use as the extended user agent header. The format is: akv2k8s/<version>/<component>/<Git commit>/<Build date>
func LogVersion ¶
func LogVersion()
LogVersion prints the version and exits The format is: <component> - commit: <Git commit> - date: <build date>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.