version

package
v0.9.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name is set at build time.
	Name string
	// Tag is set at build time.
	Tag string
	// SHA is set at build time.
	SHA string
	// Built is set at build time.
	Built string
	// PkgsVersion is set at build time.
	PkgsVersion string
	// ExtrasVersion is set at build time.
	ExtrasVersion string
)

Functions

func NewVersion

func NewVersion() *machineapi.VersionInfo

NewVersion prints verbose version information.

func PrintLongVersion

func PrintLongVersion()

PrintLongVersion prints verbose version information.

func PrintLongVersionFromExisting added in v0.3.0

func PrintLongVersionFromExisting(v *machineapi.VersionInfo)

PrintLongVersionFromExisting prints verbose version information.

func PrintShortVersion

func PrintShortVersion()

PrintShortVersion prints the tag and SHA.

Types

This section is empty.

Jump to

Keyboard shortcuts

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