- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for NewWatcher (0.1 sec)
-
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} for _, fc := range chains { name := fc.GetName() matches := newMatcher(fc, l) destination := getFilterType(fc.GetFilters()) for _, match := range matches { fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", lname, name, match, destination) } } } return w.Flush() } func newMatcher(fc *listener.FilterChain, l *listener.Listener) []string { if l.FilterChainMatcher == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
getMatcher(String); public final String getName(); protected abstract Matcher newMatcher(String); public String toString(); } org/apache/ivy/plugins/matcher/ExactPatternMatcher.class package org.apache.ivy.plugins.matcher; public final synchronized class ExactPatternMatcher extends AbstractPatternMatch { public static final ExactPatternMatcher INSTANCE; public void ExactPatternMatcher(); protected final Matcher newMatcher(String); static void <clinit>(); } org/apache/ivy/plugins/matcher/RegexpPatternMatcher.class...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)