- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestOtherResources (0.24 sec)
-
plugin/pkg/admission/antiaffinity/admission_test.go
if result != expected { t.Errorf("Unexpected result for operation %s: %v\n", op, result) } } } // TestOtherResources ensures that this admission controller is a no-op for other resources, // subresources, and non-pods. func TestOtherResources(t *testing.T) { namespace := "testnamespace" name := "testname" pod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 20 15:11:00 UTC 2019 - 7.9K bytes - Viewed (0) -
plugin/pkg/admission/alwayspullimages/admission_test.go
if err == nil { t.Fatal("missing expected error") } if err.Error() != expectedError { t.Fatal(err) } } // TestOtherResources ensures that this admission controller is a no-op for other resources, // subresources, and non-pods. func TestOtherResources(t *testing.T) { namespace := "testnamespace" name := "testname" pod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 30 22:59:57 UTC 2020 - 8.5K bytes - Viewed (0)