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