Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RegularPod (0.23 sec)

  1. pkg/test/framework/components/echo/match/matchers.go

    	}
    }
    
    // RegularPod matches echos that don't meet any of the following criteria:
    // - VM
    // - Naked
    // - Headless
    // - TProxy
    // - Multi-Subset
    var RegularPod Matcher = func(instance echo.Instance) bool {
    	return instance.Config().IsRegularPod()
    }
    
    var NotRegularPod = Not(RegularPod)
    
    // MultiVersion matches echos that have Multi-version specific setup.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/match/matchers_test.go

    		{app: naked1, expect: false},
    		{app: external1, expect: false},
    		{app: headless1, expect: false},
    	}
    	for _, tt := range tests {
    		t.Run(tt.app.Config().Service, func(t *testing.T) {
    			if got := match.RegularPod(tt.app); got != tt.expect {
    				t.Errorf("got %v expected %v", got, tt.expect)
    			}
    		})
    	}
    }
    
    func TestNaked(t *testing.T) {
    	tests := []struct {
    		app    echo.Instance
    		expect bool
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/echotest/filters.go

    }
    
    func nRegularPodPerNamespace(needed int, exclude echo.Instances) Filter {
    	return func(instances echo.Instances) echo.Instances {
    		// Apply the filters.
    		regularPods := match.And(
    			match.RegularPod,
    			match.Not(match.AnyServiceName(exclude.NamespacedNames()))).GetMatches(instances)
    
    		if len(regularPods) == 0 {
    			return regularPods
    		}
    
    		// Pick regular pods per namespace, up to needed
    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/pilot/common/routing.go

    	// Gateways don't support talking directly to waypoint, so we skip that here as well.
    	matchers := []match.Matcher{match.RegularPod, match.NotWaypoint}
    
    	gatewayListenPort := 80
    	gatewayListenPortName := "http"
    	t.RunTraffic(TrafficTestCase{
    		name:             "404",
    		targetMatchers:   matchers,
    		workloadAgnostic: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top