cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute called by main.main().

func NewCmdInit

func NewCmdInit(out io.Writer, initOptions *runOptions) *cobra.Command

NewCmdInit returns "kubei init" command.

func NewCmdReset

func NewCmdReset(out io.Writer, runOptions *runOptions) *cobra.Command

NewCmdreset returns "kubei reset" command.

func NewCmdVersion

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

NewCmdVersion provides the version information of kubei.

func NewKubeiCommand

func NewKubeiCommand(in io.Reader, out, err io.Writer) *cobra.Command

func RunVersion

func RunVersion(out io.Writer, cmd *cobra.Command) error

RunVersion provides the version information of kubei in format depending on arguments specified in cobra.Command.

Types

type Version

type Version struct {
	ClientVersion *version.Info `json:"clientVersion"`
}

Version provides the version information of kubei.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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