version

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 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. 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.

Jump to

Keyboard shortcuts

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