Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(policy, oldPolicy kyvernov1.PolicyInterface, client dclient.Interface, mock bool, username string) ([]string, error)
Validate checks the policy and rules declarations for required configurations
func ValidateOnPolicyUpdate ¶
func ValidateOnPolicyUpdate(p kyvernov1.PolicyInterface, onPolicyUpdate bool) error
func ValidateVariables ¶
func ValidateVariables(p kyvernov1.PolicyInterface, backgroundMode bool) error
Types ¶
Click to show internal directories.
Click to hide internal directories.