cmd

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdImage

func NewCmdImage(out io.Writer) *cobra.Command

NewCmdImage .

func NewCmdInstall

func NewCmdInstall(out io.Writer) *cobra.Command

NewCmdInstall provides the version information of banzai-cloud-pke.

func NewCmdToken

func NewCmdToken(out io.Writer) *cobra.Command

NewCmdToken provides the version information of banzai-cloud-pke.

func NewCmdUpgrade

func NewCmdUpgrade(out io.Writer) *cobra.Command

func NewCmdVersion

func NewCmdVersion(out io.Writer, gitVersion, gitCommit, gitTreeState, buildDate string) *cobra.Command

NewCmdVersion provides the version information of banzai-cloud-pke.

func NewPKECommand

func NewPKECommand(in io.Reader, out io.Writer, gitVersion, gitCommit, gitTreeState, buildDate string) *cobra.Command

func RunVersion

func RunVersion(out io.Writer, cmd *cobra.Command, gitVersion, gitCommit, gitTreeState, buildDate string) error

Types

type ClientVersion

type ClientVersion struct {
	GitVersion   string `json:"gitVersion"`
	GitCommit    string `json:"gitCommit"`
	GitTreeState string `json:"gitTreeState"`
	BuildDate    string `json:"buildDate"`
	GoVersion    string `json:"goVersion"`
	Compiler     string `json:"compiler"`
	Platform     string `json:"platform"`
}

Jump to

Keyboard shortcuts

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