version

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 0 Imported by: 0

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

Version is the version of the compiled software

Functions

This section is empty.

Types

type Info added in v0.4.0

type Info struct {
	// Version is the version of the OSM Controller.
	Version string `json:"version,omitempty"`

	// GitCommit is the git commit hash of the OSM Controller.
	GitCommit string `json:"git_commit,omitempty"`

	// BuildDate is the build date of the OSM Controller.
	BuildDate string `json:"build_date,omitempty"`
}

Info is a struct helpful for JSON serialization of the OSM Controller version information.

Jump to

Keyboard shortcuts

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