# Functions
CountsByStatus returns the number of check results for each status type.
DefaultPoliciesFromGlobs creates policy checkers from one or more file policy globs, using the default package and result values.
MakeResource constructs a resource from a path, contents, and index.
NewKubeconformChecker creates a new KubeconformChecker instance.
NewKubeValidator returns a new KubeValidator instance.
NewPolicyChecker creates a new PolicyChecker from the given module.
ResultsWithIssues filters the argument resource results to just those with potential issues.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CheckResult contains the detailed results of a single check.
KubeconformChecker is a Checker implementation that runs kubeconform over all Kubernetes resources.
KubeValidator is a struct that validates the kube configs associated with a cluster.
KubeValidatorConfig is the configuration used to construct a KubeValidator.
Policy wraps a policy module and a prepared query.
PolicyModule contains information about a policy.
Resource is a Kubernetes resource from a file that we want to do checks on.
Result stores the results of validating a single resource in a single file, for all checks.
# Interfaces
Checker is an interface that checks a resource and then returns a CheckResult.