Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyCRDProtect ¶
type PolicyCRDProtect struct {
// contains filtered or unexported fields
}
PolicyCRDProtect type
func NewPolicyCRDProtect ¶
func NewPolicyCRDProtect() (PolicyCRDProtect, error)
NewPolicyCRDProtect new
func (PolicyCRDProtect) Validate ¶
func (p PolicyCRDProtect) Validate(ctx context.Context, config policies.Config, ar *admissionv1.AdmissionRequest) ([]policies.ResourceViolation, []policies.PatchOperation)
Validate CRD Resources
Click to show internal directories.
Click to hide internal directories.