Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WithDefaultFilters (0.38 sec)

  1. tests/integration/security/external_ca/reachability_test.go

    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    			from := apps.EchoNamespace.A
    			to := apps.EchoNamespace.B
    			fromAndTo := from.Append(to)
    
    			echotest.New(t, fromAndTo).
    				WithDefaultFilters(1, 1).
    				FromMatch(match.ServiceName(from.NamespacedName())).
    				ToMatch(match.ServiceName(to.NamespacedName())).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. tests/integration/security/cacert_rotation/main_test.go

    			if err != nil {
    				t.Errorf("failed to get workload cert last update time: %v", err)
    			}
    
    			// Verify traffic works between a and b
    			echotest.New(t, fromAndTo).
    				WithDefaultFilters(1, 1).
    				FromMatch(match.ServiceName(from.NamespacedName())).
    				ToMatch(match.ServiceName(to.NamespacedName())).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters.go

    //	  ConditionallyTo(echotest.ReachableDestinations).
    //	  Run()
    func (t *T) ConditionallyTo(filters ...CombinationFilter) *T {
    	t.destinationFilters = append(t.destinationFilters, filters...)
    	return t
    }
    
    // WithDefaultFilters applies common filters that work for most tests.
    // Example:
    //   - The full set of apps is a, b, c, d, e, headless, naked, and vm (one simple pod).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    func newTrafficTest(t framework.TestContext, echos ...echo.Instances) *echotest.T {
    	var all []echo.Instance
    	for _, e := range echos {
    		all = append(all, e...)
    	}
    
    	return echotest.New(t, all).
    		WithDefaultFilters(1, 1).
    		FromMatch(match.And(
    			match.NotNaked,
    			match.NotProxylessGRPC)).
    		ToMatch(match.And(
    			match.NotNaked,
    			match.NotProxylessGRPC)).
    		ConditionallyTo(echotest.NoSelfCalls)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top