kind: sigs.k8s.io/kind/pkg/cmd/kind/version Index | Files

package version

import "sigs.k8s.io/kind/pkg/cmd/kind/version"

Package version implements the `version` command

Index

Package Files

version.go

Constants

const VersionCore = "0.8.0"

VersionCore is the core portion of the kind CLI version per Semantic Versioning 2.0.0

const VersionPreRelease = "alpha"

VersionPreRelease is the pre-release portion of the kind CLI version per Semantic Versioning 2.0.0

Variables

var GitCommit = ""

GitCommit is the commit used to build the kind binary, if available. It is injected at build time.

func DisplayVersion Uses

func DisplayVersion() string

DisplayVersion is Version() display formatted, this is what the version subcommand prints

func NewCommand Uses

func NewCommand(logger log.Logger, streams cmd.IOStreams) *cobra.Command

NewCommand returns a new cobra.Command for version

func Version Uses

func Version() string

Version returns the kind CLI Semantic Version

Package version imports 5 packages (graph) and is imported by 2 packages. Updated 2020-01-23. Refresh now. Tools for package owners.