version

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 3 Imported by: 7

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

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