Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for selectServices (0.16 sec)

  1. pilot/pkg/model/sidecar.go

    		hostsByNamespace[ns] = hc
    	}
    
    	out.virtualServices = SelectVirtualServices(ps.virtualServiceIndex, configNamespace, hostsByNamespace)
    	svces := ps.servicesExportedToNamespace(configNamespace)
    	out.services = out.selectServices(svces, configNamespace, hostsByNamespace)
    	out.mostSpecificWildcardVsIndex = computeWildcardHostVirtualServiceIndex(out.virtualServices, out.services)
    
    	return out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar_test.go

    			expected:  []*Service{serviceBWildcard},
    			namespace: "b",
    		},
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ilw := &IstioEgressListenerWrapper{}
    			got := ilw.selectServices(tt.services, tt.namespace, tt.listenerHosts)
    			if !reflect.DeepEqual(got, tt.expected) {
    				gots, _ := json.MarshalIndent(got, "", "  ")
    				expecteds, _ := json.MarshalIndent(tt.expected, "", "  ")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top