version

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// PlatformName of the product
	PlatformName = "cri-dockerd"
)

Variables

View Source
var (
	// Version of the product
	Version = "0.2.5"
	// PreRelease is set during the build
	PreRelease = ""
	// GitCommit is set during the build
	GitCommit = "HEAD"
	// BuildTime is set during the build
	BuildTime = "<unknown>"
)

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.

Jump to

Keyboard shortcuts

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