Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sourceNamespace (0.17 sec)

  1. pilot/pkg/model/virtualservice_test.go

    				SourceLabels: map[string]string{"a": "c"},
    			},
    			expected: true,
    		},
    		{
    			name: "sourceNamespace mismatch",
    			root: &networking.HTTPMatchRequest{
    				SourceNamespace: "test1",
    			},
    			leaf: &networking.HTTPMatchRequest{
    				SourceNamespace: "test2",
    			},
    			expected: true,
    		},
    		{
    			name: "root has less gateways than delegate",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    		for _, g := range match.Gateways {
    			if gatewayNames.Contains(g) {
    				return true
    			}
    		}
    	} else if labels.Instance(match.GetSourceLabels()).SubsetOf(proxyLabels) {
    		return match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace
    	}
    
    	return false
    }
    
    // translateRoute translates HTTP routes
    func translateRoute(
    	node *model.Proxy,
    	in *networking.HTTPRoute,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route_test.go

    	},
    	Spec: &networking.VirtualService{
    		Hosts: []string{},
    		Http: []*networking.HTTPRoute{
    			{
    				Name: "foo",
    				Match: []*networking.HTTPMatchRequest{
    					{
    						SourceNamespace: "foo",
    					},
    				},
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host: "foo.example.org",
    							Port: &networking.PortSelector{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top