func TestAuthzConfig(t *testing.T) { … } func TestMultiWebhookAuthzConfig(t *testing.T) { … } type metrics … type authorizerKey … var decisionMetric … var webhookExclusionMetric … var webhookMatchConditionEvalErrorMetric … var whTotalMetric … var webhookDurationMetric … var webhookFailOpenMetric … func getMetrics(t *testing.T, client *clientset.Clientset) (*metrics, error) { … } func atomicWriteFile(name string, data []byte, perm os.FileMode) error { … }