package sanity
import "k8s.io/kubernetes/pkg/kubectl/cmd/util/sanity"
Index ¶
- Variables
- func CheckExamples(cmd *cobra.Command) []error
- func CheckFlags(cmd *cobra.Command) []error
- func CheckGlobalVarFlags() []error
- func CheckLongDesc(cmd *cobra.Command) []error
- func RunCmdChecks(cmd *cobra.Command, cmdChecks []CmdCheck, skipCmd []string) []error
- func RunGlobalChecks(globalChecks []GlobalCheck) []error
- type CmdCheck
- type GlobalCheck
Variables ¶
var ( AllCmdChecks = []CmdCheck{ CheckLongDesc, CheckExamples, CheckFlags, } AllGlobalChecks = []GlobalCheck{ CheckGlobalVarFlags, } )
Functions ¶
func CheckExamples ¶
func CheckFlags ¶
func CheckGlobalVarFlags ¶
func CheckGlobalVarFlags() []error
func CheckLongDesc ¶
func RunCmdChecks ¶
func RunGlobalChecks ¶
func RunGlobalChecks(globalChecks []GlobalCheck) []error
Types ¶
type CmdCheck ¶
type GlobalCheck ¶
type GlobalCheck func() []error
Source Files ¶
cmd_sanity.go
- Version
- v1.7.4
- Published
- Aug 17, 2017
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 1 minute ago –
Tools for package owners.