Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for resolveControllerRef (0.38 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/deployment/deployment_controller.go

    	if controllerRef == nil {
    		return nil
    	}
    	return dc.resolveControllerRef(rs.Namespace, controllerRef)
    }
    
    // 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 (dc *DeploymentController) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *apps.Deployment {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/cronjob/cronjob_controllerv2.go

    	return nil, syncErr
    }
    
    // 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 *ControllerV2) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *batchv1.CronJob {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  5. pkg/controller/replicaset/replica_set.go

    	}
    	return rss
    }
    
    // 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 (rsc *ReplicaSetController) resolveControllerRef(namespace string, controllerRef *metav1.OwnerReference) *apps.ReplicaSet {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. 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