Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Matcher (0.26 sec)

  1. pkg/config/validation/virtualservice.go

    			// https://github.com/envoyproxy/envoy/blob/v1.29.2/api/envoy/config/route/v3/route_components.proto#L560
    			// whereas scheme/method/authority does not:
    			// https://github.com/envoyproxy/envoy/blob/v1.29.2/api/envoy/type/matcher/string.proto#L38
    			errs = appendErrors(errs, validateStringMatchRegexp(match.GetUri(), "uri"))
    			errs = appendErrors(errs, validateStringMatch(match.GetScheme(), "scheme"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    func (f *FakeWatcher) Stop() {
    	f.Lock()
    	defer f.Unlock()
    	if !f.stopped {
    		klog.V(4).Infof("Stopping fake watcher.")
    		close(f.result)
    		f.stopped = true
    	}
    }
    
    func (f *FakeWatcher) IsStopped() bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.stopped
    }
    
    // Reset prepares the watcher to be reused.
    func (f *FakeWatcher) Reset() {
    	f.Lock()
    	defer f.Unlock()
    	f.stopped = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  3. pkg/revisions/tag_watcher.go

    			if rev == "" {
    				return nil
    			}
    			return []string{rev}
    		}, controllers.ObjectHandler(p.queue.AddObject))
    	return p
    }
    
    func (p *tagWatcher) Run(stopCh <-chan struct{}) {
    	if !kube.WaitForCacheSync("tag watcher", stopCh, p.webhooks.HasSynced) {
    		return
    	}
    	// Notify handlers of initial state
    	p.notifyHandlers()
    	p.queue.Run(stopCh)
    }
    
    // AddHandler registers a new handler for updates to tag changes.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. pkg/kube/namespace/filter.go

    	handlers            []func(added, removed sets.String)
    }
    
    func NewDiscoveryNamespacesFilter(
    	namespaces kclient.Client[*corev1.Namespace],
    	mesh mesh.Watcher,
    	stop <-chan struct{},
    ) kubetypes.DynamicObjectFilter {
    	// convert LabelSelectors to Selectors
    	f := &discoveryNamespacesFilter{
    		namespaces:          namespaces,
    		discoveryNamespaces: sets.New[string](),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/envoyfilter.go

    			} else {
    				// pre-compile the regex for proxy version if it exists
    				// ignore the error because validation catches invalid regular expressions.
    				cpw.ProxyVersionRegex, _ = regexp.Compile(cp.Match.Proxy.ProxyVersion)
    			}
    		}
    
    		if _, exists := out.Patches[cp.ApplyTo]; !exists {
    			out.Patches[cp.ApplyTo] = make([]*EnvoyFilterConfigPatchWrapper, 0)
    		}
    		if cpw.Operation == networking.EnvoyFilter_Patch_INSERT_AFTER ||
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pkg/controller/job/success_policy.go

    	if !feature.DefaultFeatureGate.Enabled(features.JobSuccessPolicy) || successPolicy == nil || len(succeededIndexes) == 0 {
    		return "", false
    	}
    
    	rulesMatchedMsg := "Matched rules at index"
    	for index, rule := range successPolicy.Rules {
    		if rule.SucceededIndexes != nil {
    			requiredIndexes := parseIndexesFromString(logger, *rule.SucceededIndexes, int(completions))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    	if rb.cfg.TraceLogging && idx >= 0 && command != log.UndefinedCommand {
    		match := params[:idx]
    		// 1337 group is just a random constant to be matched on the log reader side
    		// Size of 20 allows reading the IPv4 IP header.
    		match = append(match, "-j", "NFLOG", "--nflog-prefix", fmt.Sprintf(`%q`, command.Identifier), "--nflog-group", "1337", "--nflog-size", "20")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultConflictHandler.java

            return potentialConflict(conflicts.newElement(candidate.getId(), candidate.getVersions(), replacedBy));
        }
    
        /**
         * Informs if there are any batched up conflicts.
         */
        @Override
        public boolean hasConflicts() {
            return !conflicts.isEmpty();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. cmd/batch-job-common-types.go

    			msg:  "key can't be empty",
    		}
    	}
    	return nil
    }
    
    // Empty indicates if kv is not set
    func (kv BatchJobKV) Empty() bool {
    	return kv.Key == "" && kv.Value == ""
    }
    
    // Match matches input kv with kv, value will be wildcard matched depending on the user input
    func (kv BatchJobKV) Match(ikv BatchJobKV) bool {
    	if kv.Empty() {
    		return true
    	}
    	if strings.EqualFold(kv.Key, ikv.Key) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top