version

package
v3.10.0-0.25.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdVersion

func NewCmdVersion(fullName string, versionInfo VersionInfo, out io.Writer) *cobra.Command

NewCmdVersion provides a shim around version for non-client packages that require version information

Types

type VersionInfo

type VersionInfo interface {
	String() string
}

VersionInfo provides semantic version information in a human-friendly format TODO: may be expanded for various short and formatting options if necessary.

Jump to

Keyboard shortcuts

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