Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCacheIntervalForEvents (0.29 sec)

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

    	bookmarkRevision chan int64
    	stopCh           chan struct{}
    }
    
    func (w *testWatchCache) getAllEventsSince(resourceVersion uint64, opts storage.ListOptions) ([]*watchCacheEvent, error) {
    	cacheInterval, err := w.getCacheIntervalForEvents(resourceVersion, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	result := []*watchCacheEvent{}
    	for {
    		event, err := cacheInterval.Next()
    		if err != nil {
    			return nil, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
Back to top