- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAllEventsSinceLocked (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go
func (w *watchCache) isIndexValidLocked(index int) bool { return index >= w.startIndex } // getAllEventsSinceLocked returns a watchCacheInterval that can be used to // retrieve events since a certain resourceVersion. This function assumes to // be called under the watchCache lock. func (w *watchCache) getAllEventsSinceLocked(resourceVersion uint64, key string, opts storage.ListOptions) (*watchCacheInterval, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 10:20:57 UTC 2024 - 26.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
return result, nil } func (w *testWatchCache) getCacheIntervalForEvents(resourceVersion uint64, opts storage.ListOptions) (*watchCacheInterval, error) { w.RLock() defer w.RUnlock() return w.getAllEventsSinceLocked(resourceVersion, "", opts) } // newTestWatchCache just adds a fake clock. func newTestWatchCache(capacity int, indexers *cache.Indexers) *testWatchCache { keyFunc := func(obj runtime.Object) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0)