version

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVersion

func AddVersion(cmd *cobra.Command)

func RunVersion

func RunVersion(cmd *cobra.Command, args []string)

Types

type Version

type Version struct {
	ApiserverBuilderVersion string `json:"apiserverBuilderVersion"`
	KubernetesVendor        string `json:"kubernetesVendor"`
	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()

Jump to

Keyboard shortcuts

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