Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for restartReflectorIfNeeded (0.42 sec)

  1. pkg/kubelet/util/manager/watch_based_manager.go

    	// to be retried.
    	if !i.stopped && i.store.hasSynced() && now.After(i.lastAccessTime.Add(maxIdleTime)) {
    		return i.stopThreadUnsafe()
    	}
    	return false
    }
    
    func (i *objectCacheItem) restartReflectorIfNeeded() {
    	i.lock.Lock()
    	defer i.lock.Unlock()
    	if i.immutable || !i.stopped {
    		return
    	}
    	i.stopCh = make(chan struct{})
    	i.stopped = false
    	go i.startReflector()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top