- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 988 for watcher (0.18 sec)
-
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/AbstractFileWatcherRegistryFactory.java
new File(new File(buildDir, ".gradle"), "file-system.probe")); W watcher = createFileWatcher(fileEvents); WatchableHierarchies watchableHierarchies = new WatchableHierarchies(probeRegistry, immutableLocationsFilter); FileWatcherUpdater fileWatcherUpdater = createFileWatcherUpdater(watcher, probeRegistry, watchableHierarchies); return new DefaultFileWatcherRegistry(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher.go
return } switch recv.Type { case watch.Added, watch.Modified, watch.Deleted, watch.Bookmark: d.decorator(recv.Object) send = recv case watch.Error: send = recv } select { case d.resultCh <- send: // propagated event successfully case <-ctx.Done(): // context timed out or was cancelled, stop the underlying watcher d.w.Stop() return } case <-ctx.Done():
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 19:25:31 UTC 2021 - 2.3K bytes - Viewed (0) -
pilot/pkg/bootstrap/mesh.go
s.kubeClient, args.Namespace, configMapName, configMapKey, multiWatch, s.internalStop) s.environment.Watcher = multiWatcher s.environment.NetworksWatcher = multiWatcher log.Infof("initializing mesh networks from mesh config watcher") if multiWatch { kubemesh.AddUserMeshConfig(s.kubeClient, s.environment.Watcher, args.Namespace, configMapKey, features.SharedMeshConfig, s.internalStop) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/kubelet/oom/oom_watcher_linux.go
if err != nil { return nil, err } watcher := &realWatcher{ recorder: recorder, oomStreamer: oomStreamer, } return watcher, nil } const ( systemOOMEvent = "SystemOOM" recordEventContainerName = "/" ) // Start watches for system oom's and records an event for every system oom encountered. func (ow *realWatcher) Start(ref *v1.ObjectReference) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 23:17:05 UTC 2022 - 2.3K bytes - Viewed (0) -
pkg/webhooks/webhookpatch_test.go
} } watcher := keycertbundle.NewWatcher() watcher.SetAndNotify(nil, nil, tc.pemData) whPatcher, err := NewWebhookCertPatcher(client, tc.revision, tc.webhookName, watcher) if err != nil { t.Fatal(err) } stop := test.NewStop(t) client.RunAndWait(stop) retry.UntilOrFail(t, whPatcher.webhooks.HasSynced) err = whPatcher.patchMutatingWebhookConfig(tc.configName)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 02 09:53:38 UTC 2023 - 8.6K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor.go
fs, err := fsnotify.NewWatcher() if err != nil { return err } watcher := recursiveWatcher{fs} if err = watcher.watchRecursive(path); err != nil { return err } go func() { defer watcher.Close() var debounceC <-chan time.Time for { select { case <-debounceC: debounceC = nil ch <- struct{}{} case e := <-watcher.Events: s, err := os.Stat(e.Name)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kubelet/oom/types.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 08:00:07 UTC 2019 - 731 bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WindowsFileWatcherRegistryFactory.java
@Override protected FileWatcherUpdater createFileWatcherUpdater( WindowsFileWatcher watcher, FileWatcherProbeRegistry probeRegistry, WatchableHierarchies watchableHierarchies ) { return new HierarchicalFileWatcherUpdater(watcher, NO_VALIDATION, probeRegistry, watchableHierarchies, root -> watcher.stopWatchingMovedPaths()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/filewatcher/fakefilewatcher.go
if ok { ch <- err } } // NewFakeWatcher returns a function which creates a new fake watcher for unit // testing. This allows observe callers to inject events and errors per-watched // path. changedFunc() provides a callback notification when a new watch is added // or removed. Production code should use `NewWatcher()`. func NewFakeWatcher(changedFunc func(path string, added bool)) (NewFileWatcherFunc, *FakeWatcher) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher_test.go
}() expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Added) expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Modified) expectErrorEvent(t, dw) // expect error is plumbed and doesn't force close the watcher expectPodEvent(t, dw, watch.Deleted) // cancel the passed-in context to simulate request timeout cancel()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 02 19:25:31 UTC 2021 - 3.4K bytes - Viewed (0)