Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for terminateAllWatchers (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	cacher.reflector = reflector
    
    	go cacher.dispatchEvents()
    	go progressRequester.Run(stopCh)
    
    	cacher.stopWg.Add(1)
    	go func() {
    		defer cacher.stopWg.Done()
    		defer cacher.terminateAllWatchers()
    		wait.Until(
    			func() {
    				if !cacher.isStopped() {
    					cacher.startCaching(stopCh)
    				}
    			}, time.Second, stopCh,
    		)
    	}()
    
    	return cacher, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top