Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 362 for Patches (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    	}{
    		{
    			name:         "add a new node with matched pod affinity topologyKey",
    			pod:          st.MakePod().Name("p").PodAffinityIn("service", "zone", []string{"securityscan", "value2"}, st.PodAffinityWithRequiredReq).Obj(),
    			newNode:      st.MakeNode().Name("node-a").Label("zone", "zone1").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "add a new node with matched pod anti-affinity topologyKey",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. src/net/http/server_test.go

    		}
    	}
    }
    
    func TestEscapedPathsAndPatterns(t *testing.T) {
    	matches := []struct {
    		pattern  string
    		paths    []string // paths that match the pattern
    		paths121 []string // paths that matched the pattern in Go 1.21.
    	}{
    		{
    			"/a", // this pattern matches a path that unescapes to "/a"
    			[]string{"/a", "/%61"},
    			[]string{"/a", "/%61"},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 13:54:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/configuration/DaemonParametersTest.groovy

        }
    
        @Issue("20611")
        def "defaults for Java 9+ contain the --add-opens args in the form that can be matched by a user's GRADLE_OPTS"() {
            when:
            parameters.applyDefaultsFor(JavaLanguageVersion.of(9))
    
            then: "The --add-opens arguments should be in the form that can be matched by user-provided GRADLE_OPTS: --add-opens=x.y/z.a=..."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. pkg/kube/namespace/filter.go

    		AddFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// In rare cases, a namespace may be created after objects in the namespace, because there is no synchronization between watches
    			// So we need to notify if we started selecting namespace
    			if f.namespaceCreatedLocked(ns.ObjectMeta) {
    				f.notifyHandlersLocked(sets.New(ns.Name), nil)
    			}
    		},
    		UpdateFunc: func(old, new *corev1.Namespace) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertFalse(auth.matches("ftp://hostname:111/"));
            assertFalse(auth.matches("ftp://hostname:xx/"));
            assertFalse(auth.matches("ftp://hoge/test/aaa.html"));
            assertFalse(auth.matches("ftp://hoge/test"));
            assertFalse(auth.matches("ftp://hoge/"));
            assertFalse(auth.matches("ftp://hoge"));
            assertFalse(auth.matches("ftp://"));
            assertFalse(auth.matches("http://hostname/"));
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full.yaml

    groups:
    - rules:
      - matches:
        - notPrincipals:
          - exact: not-principal
          - prefix: not-principal-prefix-
          - suffix: -suffix-not-principal
          - presence: {}
          principals:
          - exact: principal
          - prefix: principal-prefix-
          - suffix: -suffix-principal
          - presence: {}
    - rules:
      - matches:
        - namespaces:
          - exact: ns
          - prefix: ns-prefix-
          - suffix: -ns-suffix
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top