version

package
v1.7.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 2 Imported by: 7

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 GitCommit string

GitCommit is the commit hash when the binary was built

View Source
var MICVersion string

MICVersion is the version of the MIC component

View Source
var NMIVersion string

NMIVersion is the version of the NMI component

Functions

func GetUserAgent

func GetUserAgent(component, version string) 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: 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL