Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for processNext (0.08 sec)

  1. pkg/controlplane/controller/legacytokentracking/controller.go

    	c.queue.Add(queueKey)
    
    	<-stopCh
    	klog.Info("Ending legacy_token_tracking_controller")
    }
    
    func (c *Controller) runWorker() {
    	for c.processNext() {
    	}
    }
    
    func (c *Controller) processNext() bool {
    	key, quit := c.queue.Get()
    	if quit {
    		return false
    	}
    	defer c.queue.Done(key)
    
    	if err := c.syncConfigMap(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. pkg/controller/storageversionmigrator/resourceversion.go

    	}
    
    	go wait.UntilWithContext(ctx, rv.worker, time.Second)
    
    	<-ctx.Done()
    }
    
    func (rv *ResourceVersionController) worker(ctx context.Context) {
    	for rv.processNext(ctx) {
    	}
    }
    
    func (rv *ResourceVersionController) processNext(ctx context.Context) bool {
    	key, quit := rv.queue.Get()
    	if quit {
    		return false
    	}
    	defer rv.queue.Done(key)
    
    	err := rv.sync(ctx, key)
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. pkg/controller/storageversionmigrator/storageversionmigrator.go

    		go wait.UntilWithContext(ctx, svmc.worker, time.Second)
    	}
    
    	<-ctx.Done()
    }
    
    func (svmc *SVMController) worker(ctx context.Context) {
    	for svmc.processNext(ctx) {
    	}
    }
    
    func (svmc *SVMController) processNext(ctx context.Context) bool {
    	key, quit := svmc.queue.Get()
    	if quit {
    		return false
    	}
    	defer svmc.queue.Done(key)
    
    	err := svmc.sync(ctx, key)
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top