- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ValidateRouteConfigurations (0.29 sec)
-
pilot/test/xdstest/validate.go
ValidateRoute(t, l) } } func ValidateRoute(t testing.TB, r *route.Route) { if err := r.Validate(); err != nil { t.Errorf("route %v is invalid: %v", r.Name, err) } } func ValidateRouteConfigurations(t testing.TB, ls []*route.RouteConfiguration) { found := sets.New[string]() for _, l := range ls { if found.InsertContains(l.Name) { t.Errorf("duplicate route config name %v", l.Name) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 9.2K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_simulation_test.go
t.Run("validate configs", func(t *testing.T) { if tt.skipValidation { t.Skip() } xdstest.ValidateClusters(t, sim.Clusters) xdstest.ValidateListeners(t, sim.Listeners) xdstest.ValidateRouteConfigurations(t, sim.Routes) }) } if tt.name != "" { t.Run(tt.name, runTest) } else { runTest(t) } } func createGateway(name, namespace string, servers ...string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Configs: istio, KubernetesObjects: kubeo, }) sim := simulation.NewSimulation(t, s, s.SetupProxy(tt.proxy)) xdstest.ValidateListeners(t, sim.Listeners) xdstest.ValidateRouteConfigurations(t, sim.Routes) r := xdstest.ExtractRouteConfigurations(sim.Routes) vh := r[tt.routeName] exp := tt.expected if variant == "httproute" && tt.expectedGateway != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0)