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"},
}
)
Functions ¶
func NewRunFilter ¶
func NewRunFilter(opts FilterOpts) (check.Predicate, error)
NewRunFilter constructs a Predicate based on FilterOpts which determines whether tested Checks should be run or not.
Types ¶
type Controller ¶
type Controller interface { // Run inspection. Run(ctx context.Context, policy *v1alpha1.InspectionPolicy) error }
Controller controls the inspection flow.
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.