Documentation ¶
Index ¶
- func BuildKindSet(logger logr.Logger, policies ...kyvernov1.PolicyInterface) sets.String
- func CanBackgroundProcess(logger logr.Logger, p kyvernov1.PolicyInterface) bool
- func RemoveNonBackgroundPolicies(logger logr.Logger, policies ...kyvernov1.PolicyInterface) []kyvernov1.PolicyInterface
- func RemoveNonValidationPolicies(logger logr.Logger, policies ...kyvernov1.PolicyInterface) []kyvernov1.PolicyInterface
- func ReportsAreIdentical(before, after kyvernov1alpha2.ReportInterface) bool
- type ScanResult
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKindSet ¶
func CanBackgroundProcess ¶
func CanBackgroundProcess(logger logr.Logger, p kyvernov1.PolicyInterface) bool
func RemoveNonBackgroundPolicies ¶
func RemoveNonBackgroundPolicies(logger logr.Logger, policies ...kyvernov1.PolicyInterface) []kyvernov1.PolicyInterface
func RemoveNonValidationPolicies ¶ added in v1.8.1
func RemoveNonValidationPolicies(logger logr.Logger, policies ...kyvernov1.PolicyInterface) []kyvernov1.PolicyInterface
func ReportsAreIdentical ¶ added in v1.8.3
func ReportsAreIdentical(before, after kyvernov1alpha2.ReportInterface) bool
Types ¶
type ScanResult ¶
type ScanResult struct { EngineResponse *response.EngineResponse Error error }
type Scanner ¶
type Scanner interface {
ScanResource(unstructured.Unstructured, map[string]string, ...kyvernov1.PolicyInterface) map[kyvernov1.PolicyInterface]ScanResult
}
Click to show internal directories.
Click to hide internal directories.