version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 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(w io.Writer) *cobra.Command

NewCmdVersion makes version command.

Types

type Version

type Version struct {
	KustomizeVersion string `json:"kustomizeVersion"`
	GitCommit        string `json:"gitCommit"`
	BuildDate        string `json:"buildDate"`
	GoOs             string `json:"goOs"`
	GoArch           string `json:"goArch"`
}

func GetVersion

func GetVersion() Version

func (Version) Print

func (v Version) Print(w io.Writer)

Jump to

Keyboard shortcuts

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