Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UntilWithContext (0.27 sec)

  1. pkg/controller/statefulset/stateful_set.go

    	if !cache.WaitForNamedCacheSync("stateful set", ctx.Done(), ssc.podListerSynced, ssc.setListerSynced, ssc.pvcListerSynced, ssc.revListerSynced) {
    		return
    	}
    
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, ssc.worker, time.Second)
    	}
    
    	<-ctx.Done()
    }
    
    // addPod adds the statefulset for the pod to the sync queue
    func (ssc *StatefulSetController) addPod(logger klog.Logger, obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top