Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetOwnerReferences (0.22 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    							},
    							metav1.OwnerReference{
    								Name:       "rand2",
    								APIVersion: "v1",
    								Kind:       "Pod",
    								UID:        "rand2-uid",
    							})
    					}
    					claim.SetOwnerReferences(claimRefs)
    					shouldMatch := setPodRef == tc.needsPodRef && setSetRef == tc.needsSetRef
    					if isClaimOwnerUpToDate(logger, &claim, &set, &pod) != shouldMatch {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    	add(t, dc.pdbStore, pdb)
    
    	trueVal := true
    	for i := 0; i < int(pods); i++ {
    		pod, _ := newPod(t, fmt.Sprintf("pod-%d", i))
    		pod.SetOwnerReferences([]metav1.OwnerReference{
    			{
    				Kind:       customGVK.Kind,
    				APIVersion: customGVK.GroupVersion().String(),
    				Controller: &trueVal,
    				UID:        customResourceUID,
    			},
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top