- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHasStaleOwnerRef (0.18 sec)
-
pkg/controller/statefulset/stateful_set_utils_test.go
got := hasNonControllerOwner(&claim, &set, &pod) if got != tc.nonController { t.Errorf("Failed %s: got %t, expected %t", tc.name, got, tc.nonController) } } } func TestHasStaleOwnerRef(t *testing.T) { target := v1.PersistentVolumeClaim{} target.SetOwnerReferences([]metav1.OwnerReference{ {Name: "bob", UID: "123", APIVersion: "v1", Kind: "Pod"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0)