- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 64 for NewMatcher (0.24 sec)
-
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/LinuxFileWatcherRegistryFactory.java
} @Override protected LinuxFileWatcher createFileWatcher(BlockingQueue<FileWatchEvent> fileEvents) throws InterruptedException { return fileEventFunctions.newWatcher(fileEvents) .start(); } @Override protected FileWatcherUpdater createFileWatcherUpdater(LinuxFileWatcher watcher, FileWatcherProbeRegistry probeRegistry, WatchableHierarchies watchableHierarchies) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/util/filesystem/watcher.go
return w.watcher.Add(path) } func (w *fsnotifyWatcher) Init(eventHandler FSEventHandler, errorHandler FSErrorHandler) error { var err error w.watcher, err = fsnotify.NewWatcher() if err != nil { return err } w.eventHandler = eventHandler w.errorHandler = errorHandler return nil } func (w *fsnotifyWatcher) Run() { go func() { defer w.watcher.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 23:09:15 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WindowsFileWatcherRegistryFactory.java
} @Override protected WindowsFileWatcher createFileWatcher(BlockingQueue<FileWatchEvent> fileEvents) throws InterruptedException { return fileEventFunctions.newWatcher(fileEvents) .withBufferSize(BUFFER_SIZE) .start(); } @Override protected FileWatcherUpdater createFileWatcherUpdater( WindowsFileWatcher watcher,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DarwinFileWatcherRegistryFactory.java
} @Override protected OsxFileWatcher createFileWatcher(BlockingQueue<FileWatchEvent> fileEvents) throws InterruptedException { return fileEventFunctions.newWatcher(fileEvents) // TODO Figure out a good value for this .withLatency(20, TimeUnit.MICROSECONDS) .start(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:33 UTC 2023 - 3.6K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller_test.go
func createTestController(t *testing.T) (*Controller, *atomic.Pointer[error]) { c := kube.NewFakeClient() revision := "default" ns := "default" watcher := keycertbundle.NewWatcher() watcher.SetAndNotify(nil, nil, caBundle0) control := newController(Options{ WatchedNamespace: ns, CABundleWatcher: watcher, Revision: revision, ServiceName: "istiod", }, c)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 03:21:04 UTC 2024 - 11.8K bytes - Viewed (0) -
pilot/pkg/keycertbundle/watcher.go
CertPem []byte KeyPem []byte CABundle []byte } type Watcher struct { mutex sync.RWMutex bundle KeyCertBundle watcherID int32 watchers map[int32]chan struct{} } func NewWatcher() *Watcher { return &Watcher{ watchers: make(map[int32]chan struct{}), } } // AddWatcher returns channel to receive the updated items. func (w *Watcher) AddWatcher() (int32, chan struct{}) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 05 14:00:18 UTC 2023 - 2.6K bytes - Viewed (0) -
pkg/kubelet/config/file_linux.go
s.updates <- kubetypes.PodUpdate{Pods: []*v1.Pod{}, Op: kubetypes.SET, Source: kubetypes.FileSource} return &retryableError{"path does not exist, ignoring"} } w, err := fsnotify.NewWatcher() if err != nil { return fmt.Errorf("unable to create inotify: %v", err) } defer w.Close() err = w.Add(s.path) if err != nil { return fmt.Errorf("unable to create inotify for path %q: %v", s.path, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 17:27:26 UTC 2023 - 3.8K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
func (w *Watcher) Close() { _ = w.watcher.Close() } // Creates a file watcher that watches for any changes to the directory func CreateFileWatcher(paths ...string) (*Watcher, error) { watcher, err := fsnotify.NewWatcher() if err != nil { return nil, fmt.Errorf("watcher create: %v", err) } fileModified, errChan := make(chan struct{}), make(chan error) go watchFiles(watcher, fileModified, errChan)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/kubelet/pluginmanager/plugin_manager.go
operationexecutor.NewOperationGenerator( recorder, ), ), loopSleepDuration, dsw, asw, ) pm := &pluginManager{ desiredStateOfWorldPopulator: pluginwatcher.NewWatcher( sockDir, dsw, ), reconciler: reconciler, desiredStateOfWorld: dsw, actualStateOfWorld: asw, } return pm } // pluginManager implements the PluginManager interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 01 05:56:33 UTC 2022 - 4.3K bytes - Viewed (0) -
internal/config/etcd/etcd.go
if !cfg.Enabled { return nil, nil } cli, err := clientv3.New(cfg.Config) if err != nil { return nil, err } cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix) cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix) cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix) return cli, nil } func parseEndpoints(endpoints string) ([]string, bool, error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.8K bytes - Viewed (0)