Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for GetMatches (0.16 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. pkg/test/framework/components/echo/match/matcher.go

    	"istio.io/istio/pkg/test/framework/components/echo"
    )
    
    // Matcher is used to filter matching instances
    type Matcher func(echo.Instance) bool
    
    // GetMatches returns the subset of echo.Instances that match this Matcher.
    func (m Matcher) GetMatches(i echo.Instances) echo.Instances {
    	out := make(echo.Instances, 0)
    	for _, i := range i {
    		if m(i) {
    			out = append(out, i)
    		}
    	}
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 20:45:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tests/integration/security/util/reachability/context.go

    							// only hit same network headless services
    							match.Network(from.Config().Cluster.NetworkName()).GetMatches(Headless),
    							// only hit same cluster multiversion services
    							match.Cluster(from.Config().Cluster).GetMatches(Multiversion),
    							// only hit same cluster naked services
    							match.Cluster(from.Config().Cluster).GetMatches(Naked),
    							VM,
    						}
    
    						for _, to := range destinationSets {
    							to := to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 23 21:20:43 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/MultipleCandidatesResult.java

    import org.gradle.api.attributes.MultipleCandidatesDetails;
    
    import java.util.Set;
    
    public interface MultipleCandidatesResult<T> extends MultipleCandidatesDetails<T> {
        boolean hasResult();
    
        Set<T> getMatches();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 883 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top