func TestPodSecurity(t *testing.T) { … }
func TestPodSecurityGAOnly(t *testing.T) { … }
func TestPodSecurityWebhook(t *testing.T) { … }
func startPodSecurityServer(t *testing.T) *kubeapiservertesting.TestServer { … }
func startPodSecurityWebhook(t *testing.T, testServer *kubeapiservertesting.TestServer) (addr string, err error) { … }
func installWebhook(t *testing.T, clientConfig *rest.Config, addr string) error { … }
func ValidatePluginMetrics(t *testing.T, clientConfig *rest.Config) { … }
func ValidateWebhookMetrics(t *testing.T, webhookAddr string) { … }
func validateMetrics(t *testing.T, rawMetrics []byte) { … }