Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ReachableDestinations (0.18 sec)

  1. pkg/test/framework/components/echo/echotest/filters_test.go

    				headless1, naked1,
    			},
    		},
    		"ReachableDestinations from naked": {
    			filter: func(instances echo.Instances) echo.Instances {
    				return echotest.ReachableDestinations(naked1, instances)
    			},
    			expect: echo.Instances{
    				// only same network/cluster, no VMs
    				a1, a1Ns2, b1, c1, headless1, naked1, external1,
    			},
    		},
    		"ReachableDestinations from vm": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/filters.go

    	}).GetMatches(to)
    }
    
    // ReachableDestinations filters out known-unreachable destinations given a source.
    // - from a naked pod, we can't reach cross-network endpoints or VMs
    // - we can't reach cross-cluster headless endpoints
    // - from an injected Pod, only non-naked cross-network endpoints are reachable
    var ReachableDestinations CombinationFilter = func(from echo.Instance, to echo.Instances) echo.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/security/https_jwt/https_jwt_test.go

    						}).
    						FromMatch(
    							// TODO(JimmyCYJ): enable VM for all test cases.
    							util.SourceMatcher(ns, true)).
    						ConditionallyTo(echotest.ReachableDestinations).
    						ToMatch(util.DestMatcher(ns, true)).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/revisions_test.go

    					Service:    "vm",
    					Namespace:  canary,
    					DeployAsVM: true,
    					Ports:      []echo.Port{},
    				}).
    				BuildOrFail(t)
    
    			echotest.New(t, echos).
    				ConditionallyTo(echotest.ReachableDestinations).
    				ToMatch(match.ServiceName(echo.NamespacedName{Name: "server", Namespace: canary})).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    					retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 27 15:52:38 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. tests/integration/security/remote_jwks/remote_jwks_test.go

    						}).
    						FromMatch(
    							// TODO(JimmyCYJ): enable VM for all test cases.
    							util.SourceMatcher(ns, true)).
    						ConditionallyTo(echotest.ReachableDestinations).
    						ToMatch(util.DestMatcher(ns, true)).
    						Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    							opts := echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top