type fakeAuthorizer … func (f *fakeAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { … } func TestCreate(t *testing.T) { … } func mustParse(s string) labels.Requirements { … }
type fakeAuthorizer … func (f *fakeAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) { … } func TestCreate(t *testing.T) { … } func mustParse(s string) labels.Requirements { … }