//
pkg.gl
Category
github.com/openservicemesh/osm
pkg
version
package
1.2.4
Repository:
https://github.com/openservicemesh/osm.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
5
Dependents
14
Files
43 SLOC
#
Functions
GetInfo
GetInfo returns the version info.
GetVersionHandler
GetVersionHandler returns an HTTP handler that returns the version info.
SetMetric
SetMetric is a one time call to expose the version info via prometheus metrics.
#
Variables
BuildDate
BuildDate is the date when the binary was built.
GitCommit
GitCommit is the commit hash when the binary was built.
Version
Version is the version of the compiled software.
#
Structs
Info
Info is a struct helpful for JSON serialization of the OSM Controller version information.