Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/controller/daemon/daemon_controller.go

    		// The ControllerRef was changed. Sync the old controller, if any.
    		if ds := dsc.resolveControllerRef(oldHistory.Namespace, oldControllerRef); ds != nil {
    			dsc.enqueueDaemonSet(ds)
    		}
    	}
    
    	// If it has a ControllerRef, that's all that matters.
    	if curControllerRef != nil {
    		ds := dsc.resolveControllerRef(curHistory.Namespace, curControllerRef)
    		if ds == nil {
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K 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