cmd

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultKubernetesVersion = "v1.20.4"

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute called by main.main().

func NewCmdDownload added in v0.7.0

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

func NewCmdExec added in v0.7.0

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

NewCmdExec returns "kubei exec" command.

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 RunDownload added in v0.7.0

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

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