Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for GetMatches (0.25 sec)

  1. pkg/test/framework/components/echo/common/deployment/namespace.go

    		n.E = match.ServiceName(echo.NamespacedName{Name: ESvc, Namespace: ns}).GetMatches(echos)
    	}
    	n.Tproxy = match.ServiceName(echo.NamespacedName{Name: TproxySvc, Namespace: ns}).GetMatches(echos)
    	n.Headless = match.ServiceName(echo.NamespacedName{Name: HeadlessSvc, Namespace: ns}).GetMatches(echos)
    	n.StatefulSet = match.ServiceName(echo.NamespacedName{Name: StatefulSetSvc, Namespace: ns}).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/filters.go

    	return func(instances echo.Instances) echo.Instances {
    		return match.NotRegularPod.GetMatches(instances)
    	}
    }
    
    // FilterMatch returns a filter that simply applies the given matcher.
    func FilterMatch(matcher match.Matcher) Filter {
    	return func(instances echo.Instances) echo.Instances {
    		return matcher.GetMatches(instances)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. tests/integration/ambient/main_test.go

    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Mesh = inMesh.GetMatches(echos)
    	apps.MeshExternal = match.Not(inMesh).GetMatches(echos)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tests/integration/ambient/cnirepair/main_test.go

    	apps.Uncaptured = match.ServiceName(echo.NamespacedName{Name: Uncaptured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    func TestTrafficWithCNIRepair(t *testing.T) {
    	framework.NewTest(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/common/deployment/external.go

    	}
    	return b.WithConfig(config)
    }
    
    func (e *External) LoadValues(echos echo.Instances) {
    	e.All = match.ServiceName(echo.NamespacedName{Name: ExternalSvc, Namespace: e.Namespace}).GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tests/integration/security/ca_custom_root/secure_naming_test.go

    			to := match.Namespace(testNamespace).GetMatches(apps.EchoNamespace.B)
    			for _, cluster := range t.Clusters() {
    				t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    					a := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.A)[0]
    					b := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.B)[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

        }
    
        /**
         * Returns all matches, when there were more than 1.
         *
         * @return The matches. Returns an empty set when there are no matches.
         */
        public Set<String> getMatches() {
            return matches;
        }
    
        /**
         * Returns the potential matches, if any.
         *
         * @return The matches. Returns an empty set when there are no potential matches.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tests/integration/telemetry/tracing/tracing.go

    		return func(i echo.Instance) bool {
    			return strings.HasPrefix(i.Config().Service, prefix)
    		}
    	}
    	client = servicePrefix("client").GetMatches(echos)
    	server = match.ServiceName(echo.NamespacedName{Name: "server", Namespace: appNsInst}).GetMatches(echos)
    	ingInst = ist.IngressFor(ctx.Clusters().Default())
    	addrs, _ := ingInst.HTTPAddresses()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. tests/integration/telemetry/api/setup_test.go

    	if err != nil {
    		return err
    	}
    	for _, c := range ctx.Clusters() {
    		ingr = append(ingr, ist.IngressFor(c))
    	}
    	mockProm = match.ServiceName(echo.NamespacedName{Name: "mock-prom", Namespace: apps.Namespace}).GetMatches(apps.Echos().All.Instances())
    	promInst, err = prometheus.New(ctx, prometheus.Config{})
    	if err != nil {
    		return
    	}
    
    	args := map[string]any{
    		"DockerConfigJson": base64.StdEncoding.EncodeToString(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    			ctx.NewSubTest("exported").RunParallel(
    				func(ctx framework.TestContext) {
    					serviceB := match.ServiceName(echo.NamespacedName{Name: common.ServiceB, Namespace: echos.Namespace})
    					for _, cluster := range serviceB.GetMatches(echos.Instances).Clusters() {
    						cluster := cluster
    						ctx.NewSubTest(cluster.StableName()).RunParallel(func(ctx framework.TestContext) {
    							// Verify that the ServiceExport was created.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top