version

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "binary was not built properly"

Version is a global variable which is set during compile time via -ld-flags in the `go build` process. It stores the version of the Gardener and has either the form <X> or <X.Y>, where <X> denominates the current 'major' version, and <Y> (if present) denominates the current 'hotfix' version.

Functions

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd creates a version command printing the binary version as reported by the pkg/version/Version variable

Types

This section is empty.

Jump to

Keyboard shortcuts

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