func TestGetAuthorizerAttributes(t *testing.T) { … } type fakeAuthorizer … func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { … } func TestAuditAnnotation(t *testing.T) { … }
func TestGetAuthorizerAttributes(t *testing.T) { … } type fakeAuthorizer … func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { … } func TestAuditAnnotation(t *testing.T) { … }