- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,217 for Patches (0.3 sec)
-
pkg/util/filesystem/watcher.go
} // Initialize watcher, fall back to no-op var ( eventsCh chan fsnotify.Event errorCh chan error watcher watchAddRemover ) if w, err := fsnotify.NewWatcher(); err != nil { errorHandler(fmt.Errorf("error creating file watcher, falling back to poll at interval %s: %w", pollInterval, err)) watcher = noopWatcher{} } else { watcher = w eventsCh = w.Events errorCh = w.Errors
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-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/matchers.kt
package org.gradle.kotlin.dsl.fixtures import org.hamcrest.CoreMatchers.containsString import org.hamcrest.Matcher fun containsMultiLineString(string: String): Matcher<String> =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 221 bytes - Viewed (0) -
pkg/test/framework/resource/matcher.go
"regexp" "strconv" "strings" ) // testFilter is a regex matcher on a test. It is split by / following go subtest format type testFilter []*regexp.Regexp type Matcher struct { filters []testFilter } // NewMatcher reimplements the logic of Go's -test.run. The code is mostly directly copied from Go's source. func NewMatcher(regexs []string) (*Matcher, error) { filters := []testFilter{} for _, regex := range regexs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 3.2K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher.go
}) go c.Run(stop) // Ensure the ConfigMap is initially loaded if present. if !client.WaitForCacheSync("configmap watcher", stop, c.HasSynced) { log.Error("failed to wait for cache sync") } return w } func AddUserMeshConfig(client kube.Client, watcher mesh.Watcher, namespace, key, userMeshConfig string, stop <-chan struct{}) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 20:54:46 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/config/mesh/watcher.go
func NewFixedWatcher(mesh *meshconfig.MeshConfig) Watcher { iw := internalWatcher{} iw.MeshConfig.Store(mesh) return &iw } // NewFileWatcher creates a new Watcher for changes to the given mesh config file. Returns an error // if the given file does not exist or failed during parsing. func NewFileWatcher(fileWatcher filewatcher.FileWatcher, filename string, multiWatch bool) (Watcher, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 20 18:33:38 UTC 2023 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go
Rita Zhang <******@****.***> 1709268932 -0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 2.9K bytes - Viewed (0) -
pilot/pkg/keycertbundle/watcher.go
id := w.watcherID w.watchers[id] = ch w.watcherID++ return id, ch } // RemoveWatcher removes the given watcher. func (w *Watcher) RemoveWatcher(id int32) { w.mutex.Lock() defer w.mutex.Unlock() ch := w.watchers[id] if ch != nil { close(ch) } delete(w.watchers, id) } // SetAndNotify sets the key cert and root cert and notify the watchers.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 05 14:00:18 UTC 2023 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/matcher.go
Dr. Stefan Schimanski <******@****.***> 1486027168 +0100
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 03 06:33:43 UTC 2017 - 1.6K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
const maxStaleRetries = 10 const msInterval = 10 retries := 0 var ambientPod *corev1.Pod var err error // The plugin already consulted the k8s API - but on this end handler caches may be stale, so retry a few times if we get no pod. // if err is returned, we couldn't find the pod // if nil is returned, we found it but ambient is not enabled
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 6.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go
if matched && s.Field != nil { matched = (matched && s.Field.Matches(f)) } return matched } // MatchesSingleNamespace will return (namespace, true) if and only if s.Field matches on the object's // namespace. func (s *SelectionPredicate) MatchesSingleNamespace() (string, bool) { if len(s.Continue) > 0 || s.Field == nil { return "", false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 5.6K bytes - Viewed (0)