- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestAdmissionNamespaceDoesNotExist (0.3 sec)
-
plugin/pkg/admission/namespace/exists/admission_test.go
if err != nil { t.Errorf("unexpected error returned from admission handler") } } // TestAdmissionNamespaceDoesNotExist verifies pod is not admitted if namespace does not exist. func TestAdmissionNamespaceDoesNotExist(t *testing.T) { namespace := "test" mockClient := newMockClientForTest([]string{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go
if err != nil { t.Error(err) } } // TestAdmissionNamespaceDoesNotExist verifies pod is not admitted if namespace does not exist. func TestAdmissionNamespaceDoesNotExist(t *testing.T) { namespace := "test" mockClient := newMockClientForTest(map[string]v1.NamespacePhase{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.2K bytes - Viewed (0)