kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/util/sanity/cmd_sanity.go

type CmdCheck

type GlobalCheck

var AllCmdChecks

var AllGlobalChecks

// RunGlobalChecks runs all the GlobalCheck functions passed and checks for error
func RunGlobalChecks(globalChecks []GlobalCheck) []error {}

// RunCmdChecks runs all the CmdCheck functions passed, skipping skippable commands and looks for error
func RunCmdChecks(cmd *cobra.Command, cmdChecks []CmdCheck, skipCmd []string) []error {}

// CheckLongDesc checks if the long description is valid
func CheckLongDesc(cmd *cobra.Command) []error {}

// CheckExamples checks if the command examples are valid
func CheckExamples(cmd *cobra.Command) []error {}

// CheckFlags checks if the command-line flags are valid
func CheckFlags(cmd *cobra.Command) []error {}

// CheckGlobalVarFlags checks if the global flags are valid
func CheckGlobalVarFlags() []error {}