version

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package version implements the `version` command

Index

Constants

View Source
const VersionCore = "0.10.0"

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

View Source
const VersionPreRelease = ""

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

Variables

View Source
var GitCommit = ""

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

Functions

func DisplayVersion

func DisplayVersion() string

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

func NewCommand

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

NewCommand returns a new cobra.Command for version

func Version

func Version() string

Version returns the kind CLI Semantic Version

Types

This section is empty.

Jump to

Keyboard shortcuts

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