Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PlatformName of the product
PlatformName = "cri-dockerd"
)
Variables ¶
View Source
var ( // Version of the product. This is set during the build. Otherwise, call it a dev version Version = "dev" // PreRelease is set during the build PreRelease = "" // GitCommit is set during the build GitCommit = "HEAD" )
Functions ¶
func FullVersion ¶
func FullVersion() string
FullVersion returns the formatted "$Version[-$PreRelease] ($GitCommit)"
func TagVersion ¶
func TagVersion() string
TagVersion returns "$Version[-$PreRelease]" without the git commit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.