Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStrategy ¶
func NewStrategy(authorizer authorizer.Authorizer, policyGetter PolicyGetter, resourceResolver resolver.ResourceResolver) *validatingAdmissionPolicyBindingStrategy
NewStrategy is the default logic that applies when creating and updating ValidatingAdmissionPolicyBinding objects.
Types ¶
type PolicyGetter ¶
type PolicyGetter interface { // GetValidatingAdmissionPolicy returns a GetValidatingAdmissionPolicy // by its name. There is no namespace because it is cluster-scoped. GetValidatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.ValidatingAdmissionPolicy, error) }
Click to show internal directories.
Click to hide internal directories.