Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resolveControllerRef (0.21 sec)

  1. pkg/controller/statefulset/stateful_set.go

    		// The ControllerRef was changed. Sync the old controller, if any.
    		if set := ssc.resolveControllerRef(oldPod.Namespace, oldControllerRef); set != nil {
    			ssc.enqueueStatefulSet(set)
    		}
    	}
    
    	// If it has a ControllerRef, that's all that matters.
    	if curControllerRef != nil {
    		set := ssc.resolveControllerRef(curPod.Namespace, curControllerRef)
    		if set == nil {
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    	for i := range jobs {
    		ret = append(ret, &jobs[i])
    	}
    	return ret
    }
    
    // resolveControllerRef returns the controller referenced by a ControllerRef,
    // or nil if the ControllerRef could not be resolved to a matching controller
    // of the correct Kind.
    func (jm *Controller) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *batch.Job {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top