Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BackingImageManagerAPIVersion used to communicate with the user // \e.g. longhorn-manager BackingImageManagerAPIVersion = 3 BackingImageManagerAPIMinVersion = 3 )
Variables ¶
View Source
var ( Version string GitCommit string BuildDate string )
Following variables are filled in by main.go
Functions ¶
This section is empty.
Types ¶
type VersionOutput ¶
type VersionOutput struct { Version string `json:"version"` GitCommit string `json:"gitCommit"` BuildDate string `json:"buildDate"` BackingImageManagerAPIVersion int `json:"backingImageManagerAPIVersion"` BackingImageManagerAPIMinVersion int `json:"backingImageManagerAPIMinVersion"` }
func GetVersion ¶
func GetVersion() VersionOutput
Click to show internal directories.
Click to hide internal directories.