Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SimplePodServiceAndAllSpecial (0.25 sec)

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

    func (t *T) WithDefaultFilters(minimumFrom, minimumTo int) *T {
    	return t.
    		From(FilterMatch(match.NotExternal)).
    		From(FilterMatch(match.NotWaypoint)).
    		From(SimplePodServiceAndAllSpecial(minimumFrom)).
    		ConditionallyTo(ReachableDestinations).
    		To(SimplePodServiceAndAllSpecial(minimumTo, t.sources...))
    }
    
    func (t *T) applyCombinationFilters(from echo.Instance, to echo.Instances) echo.Instances {
    	for _, filter := range t.destinationFilters {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 29 23:48:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tests/integration/security/sds_ingress/util/util.go

    					GatewayLabel:   inst.Settings().IngressGatewayIstioLabel,
    				})
    				credNames = append(credNames, cred)
    			}
    			SetupConfig(ctx, ns.Get(), tests...)
    			return nil
    		}).
    		To(echotest.SimplePodServiceAndAllSpecial(1)).
    		RunFromClusters(func(ctx framework.TestContext, fromCluster cluster.Cluster, to echo.Target) {
    			for _, cn := range credNames {
    				CreateIngressKubeSecret(ctx, cn, Mtls, IngressCredentialA, false)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters_test.go

    	); diff != "" {
    		t.Fatal(diff)
    	}
    }
    
    func TestFilters(t *testing.T) {
    	tests := map[string]struct {
    		filter func(echo.Instances) echo.Instances
    		expect echo.Instances
    	}{
    		"SimplePodServiceAndAllSpecial": {
    			filter: echotest.SingleSimplePodServiceAndAllSpecial(),
    			expect: echo.Instances{
    				// Keep pods for one regular service per namespace.
    				a1, a2, a1Ns2, a2Ns2,
    				// keep the special cases
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top