- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 988 for watcher (0.13 sec)
-
staging/src/k8s.io/apimachinery/pkg/watch/mux.go
// How large to make watcher's channel. watchQueueLength int // If one of the watch channels is full, don't wait for it to become empty. // Instead just deliver it to the watchers that do have space in their // channels and move on to the next event. // It's more fair to do this on a per-watcher basis than to do it on the // "incoming" channel, which would allow one slow watcher to prevent all
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 16 15:26:36 UTC 2022 - 9.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
} watchers0 := watchers.popExpiredWatchersThreadUnsafe() if len(watchers0) != 0 { t.Errorf("unexpected bucket size: %#v", watchers0) } clock.Step(10 * time.Second) watchers1 := watchers.popExpiredWatchersThreadUnsafe() if len(watchers1) != 1 || len(watchers1[0]) != 1 { t.Errorf("unexpected bucket size: %v", watchers1) } watchers1 = watchers.popExpiredWatchersThreadUnsafe() if len(watchers1) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/LinuxFileWatcherRegistryFactory.java
private final LinuxFileWatcher watcher; private final WatchableHierarchies watchableHierarchies; public LinuxMovedDirectoryHandler(LinuxFileWatcher watcher, WatchableHierarchies watchableHierarchies) { this.watcher = watcher; this.watchableHierarchies = watchableHierarchies; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 3.7K bytes - Viewed (0) -
pilot/pkg/bootstrap/sidecarinjector.go
return nil, nil } // If the injection config exists either locally or remotely, we will set up injection. var watcher inject.Watcher if _, err := os.Stat(filepath.Join(injectPath, "config")); !os.IsNotExist(err) { configFile := filepath.Join(injectPath, "config") valuesFile := filepath.Join(injectPath, "values") watcher, err = inject.NewFileWatcher(configFile, valuesFile) if err != nil { return nil, err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 20:39:38 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java
try { watcher.shutdown(); if (!watcher.awaitTermination(5, TimeUnit.SECONDS)) { throw new RuntimeException("Watcher did not terminate within 5 seconds"); } } catch (InterruptedException e) { Thread.currentThread().interrupt(); throw new InterruptedIOException("Awaiting termination of watcher was interrupted"); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go
} } // serveWatch will serve a watch response according to the watcher and watchServer. // Before watchServer.HandleHTTP, an error may occur like k8s.io/apiserver/pkg/endpoints/handlers/watch.go#serveWatch does. func serveWatch(watcher watch.Interface, watchServer *handlers.WatchServer, preServeErr error) http.HandlerFunc { return func(w http.ResponseWriter, req *http.Request) { defer watcher.Stop() if preServeErr != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 30 17:27:39 UTC 2023 - 30K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go
) // possible states of the cache watcher const ( // cacheWatcherWaitingForBookmark indicates the cacher // is waiting for a bookmark event with a specific RV set cacheWatcherWaitingForBookmark = iota // cacheWatcherBookmarkReceived indicates that the cacher // has received a bookmark event with required RV cacheWatcherBookmarkReceived // cacheWatcherBookmarkSent indicates that the cacher
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 12:22:41 UTC 2023 - 18.7K bytes - Viewed (0) -
pkg/volume/flexvolume/probe.go
err := prober.watcher.Init(func(event fsnotify.Event) { if err := prober.handleWatchEvent(event); err != nil { klog.Errorf("Flexvolume prober watch: %s", err) } }, func(err error) { klog.Errorf("Received an error from watcher: %s", err) }) if err != nil { return fmt.Errorf("error initializing watcher: %s", err) } if err := prober.addWatchRecursive(prober.pluginDir); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
"istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/retry" ) func TestNamespaceController(t *testing.T) { client := kube.NewFakeClient() t.Cleanup(client.Shutdown) watcher := keycertbundle.NewWatcher() caBundle := []byte("caBundle") watcher.SetAndNotify(nil, nil, caBundle) meshWatcher := mesh.NewTestWatcher(&meshconfig.MeshConfig{}) stop := test.NewStop(t) discoveryNamespacesFilter := filter.NewDiscoveryNamespacesFilter(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/kube/kclient/delayed.go
inf.Start(s.started) } } } type delayedFilter struct { Watcher kubetypes.CrdWatcher Resource schema.GroupVersionResource } func (d *delayedFilter) HasSynced() bool { return d.Watcher.HasSynced() } func (d *delayedFilter) KnownOrCallback(f func(stop <-chan struct{})) bool { return d.Watcher.KnownOrCallback(d.Resource, f) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 31 02:32:59 UTC 2023 - 3.5K bytes - Viewed (0)