Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RequestWatchProgress (0.23 sec)

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

    	// expiredBookmarkWatchers is a list of watchers that were expired and need to be schedule for a next bookmark event
    	expiredBookmarkWatchers []*cacheWatcher
    }
    
    func (c *Cacher) RequestWatchProgress(ctx context.Context) error {
    	return c.storage.RequestWatchProgress(ctx)
    }
    
    // NewCacherFromConfig creates a new Cacher responsible for servicing WATCH and LIST requests from
    // its internal cache and updating its cache in the background based on the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	requestWatchProgressSupported := etcdfeature.DefaultFeatureSupportChecker.Supports(storage.RequestWatchProgress)
    	if utilfeature.DefaultFeatureGate.Enabled(features.ConsistentListFromCache) && requestWatchProgressSupported && w.notFresh(resourceVersion) {
    		w.waitingUntilFresh.Add()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	// use getRequestWatchProgressCounter when reading
    	// the value of the counter
    	requestWatchProgressCounter int
    }
    
    func (d *dummyStorage) RequestWatchProgress(ctx context.Context) error {
    	d.Lock()
    	defer d.Unlock()
    	d.requestWatchProgressCounter++
    	return nil
    }
    
    func (d *dummyStorage) getRequestWatchProgressCounter() int {
    	d.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
Back to top