Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BuildDate is the date when the binary was built BuildDate string // GitCommit is the commit hash when the binary was built GitCommit string // MICVersion is the version of the MIC component MICVersion string // NMIVersion is the version of the NMI component NMIVersion string )
Functions ¶
func GetUserAgent ¶
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: aad-pod-identity/<component - either NMI or MIC>/<Version of component>/<Git commit>/<Build date>
func PrintVersionAndExit ¶
func PrintVersionAndExit()
PrintVersionAndExit prints the version and exits
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.