Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Cur (0.02 sec)

  1. pilot/pkg/config/kube/crdclient/client.go

    			cl.queue.Push(func() error {
    				cl.onEvent(resourceGVK, nil, obj, model.EventAdd)
    				return nil
    			})
    		},
    		UpdateFunc: func(old, cur controllers.Object) {
    			incrementEvent(kind, "update")
    			cl.queue.Push(func() error {
    				cl.onEvent(resourceGVK, old, cur, model.EventUpdate)
    				return nil
    			})
    		},
    		DeleteFunc: func(obj controllers.Object) {
    			incrementEvent(kind, "delete")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    // When a pod is updated, figure out what job/s manage it and wake them up.
    // If the labels of the pod have changed we need to awaken both the old
    // and new job. old and cur must be *v1.Pod types.
    func (jm *Controller) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	recordFinishedPodWithTrackingFinalizer(oldPod, curPod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    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