vars

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULTDIR = ".switch"
	BUFFERSIZE = 1024
	//default config path ~/.kube
	KUBECONFIGPATH = ".kube"
	KUBECONFIGFILE = "config"

	// external command kubectl
	KUBECTL = "kubectl"
)

base const

Variables

This section is empty.

Functions

func AddExternalCmd

func AddExternalCmd(cmdlower, cmd string)

AddExternalCmd external command register

func AddSubCmd

func AddSubCmd(cmd string)

AddSubCmd add sub cmd

func GetExternalCmds

func GetExternalCmds() map[string]string

GetExternalCmds get all external sub cmds

func GetSubCmds

func GetSubCmds() map[string]bool

GetSubCmds get lower sub-cmd

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL