func TestAuthorization(t *testing.T) { … } type AuthFunc … func (f AuthFunc) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { … }
func TestAuthorization(t *testing.T) { … } type AuthFunc … func (f AuthFunc) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { … }