Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string GitCommit string BuildDate string GitState string )
These fields are populated by govvv at compile-time in main and must be set in here to be shared across all packages.
Functions ¶
func DetailedVersionString ¶
func DetailedVersionString() string
DetailedVersionString returns a detailed version string including version number, git commit, build date, source tree state and the go runtime version.
func ExtractFromServiceDefinition ¶
Extracts the installed version of run command from the service definition. Current extracting it from the ExecStart field that includes the version as a substring.
func Initialize ¶
func VersionString ¶
func VersionString() string
VersionString builds a compact version string in format: vVERSION/git@GitCommit[-State].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.