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) *mutatingAdmissionPolicyBindingStrategy
NewStrategy is the default logic that applies when creating and updating MutatingAdmissionPolicyBinding objects.
Types ¶
type PolicyGetter ¶
type PolicyGetter interface { // GetMutatingAdmissionPolicy returns a GetMutatingAdmissionPolicy // by its name. There is no namespace because it is cluster-scoped. GetMutatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.MutatingAdmissionPolicy, error) }
Click to show internal directories.
Click to hide internal directories.