kubernetes/pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz_test.go

func TestAuthorization(t *testing.T) {}

type AuthFunc

func (f AuthFunc) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) {}

type PolicyGetterFunc

func (f PolicyGetterFunc) GetValidatingAdmissionPolicy(ctx context.Context, name string) (*admissionregistration.ValidatingAdmissionPolicy, error) {}