Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidateManager ¶
type ValidateManager interface { // ApplyValidatePolicies validate the object if one or more matched validate policy exist. ApplyValidatePolicies(ctx context.Context, obj *unstructured.Unstructured, oldObj *unstructured.Unstructured, operation admissionv1.Operation) (*ValidateResult, error) }
ValidateManager managers validate policies for operation
func NewValidateManager ¶
func NewValidateManager(dynamicClient dynamiclister.DynamicResourceLister, cvpLister v1alpha1.ClusterValidatePolicyLister) ValidateManager
type ValidateResult ¶
Click to show internal directories.
Click to hide internal directories.