kubernetesk8s.io/kubernetes/pkg/kubectl/cmd/util/sanity Index | Files

package sanity

import "k8s.io/kubernetes/pkg/kubectl/cmd/util/sanity"

Index

Variables

var (
	AllCmdChecks = []CmdCheck{
		CheckLongDesc,
		CheckExamples,
	}
)

Functions

func CheckCmdTree

func CheckCmdTree(cmd *cobra.Command, checks []CmdCheck, skip []string) []error

func CheckExamples

func CheckExamples(cmd *cobra.Command) []error

func CheckLongDesc

func CheckLongDesc(cmd *cobra.Command) []error

Types

type CmdCheck

type CmdCheck func(cmd *cobra.Command) []error

Source Files

cmd_sanity.go

Version
v1.6.0
Published
Mar 28, 2017
Platform
js/wasm
Imports
5 packages
Last checked
3 minutes ago

Tools for package owners.