Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TypeMap = map[string][]string{
"ca": {"cafile", "defaultcafile"},
"kubeconfig": {"kubeconfig", "defaultkubeconfig"},
"service": {"svc", "defaultsvc"},
"config": {"confs", "defaultconf"},
"datadir": {"datadirs", "defaultdatadir"},
}
)
Functions ¶
func NewCommand ¶
func NewRunCommand ¶
func NewRunFilter ¶
func NewRunFilter(opts FilterOpts) (check2.Predicate, error)
NewRunFilter constructs a Predicate based on FilterOpts which determines whether tested Checks should be run or not.
Types ¶
type FilterOpts ¶
type KubeVersion ¶
type KubeVersion struct { Major string Minor string GitVersion string // contains filtered or unexported fields }
func (*KubeVersion) BaseVersion ¶
func (k *KubeVersion) BaseVersion() string
Click to show internal directories.
Click to hide internal directories.