- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setDrainInputBufferLocked (0.26 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
break TestCase default: } w.setDrainInputBufferLocked(false) w.stopLocked() } } func TestCacheWatcherStoppedInAnotherGoroutine(t *testing.T) { var w *cacheWatcher done := make(chan struct{}) filter := func(string, labels.Set, fields.Set) bool { return true } forget := func(drainWatcher bool) { w.setDrainInputBufferLocked(drainWatcher) w.stopLocked() done <- struct{}{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
delete(i.allWatchers, scope) } } } func (i *indexedWatchers) terminateAll(groupResource schema.GroupResource, done func(*cacheWatcher)) { // note that we don't have to call setDrainInputBufferLocked method on the watchers // because we take advantage of the default value - stop immediately // also watchers that have had already its draining strategy set
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0)