- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BuildHTTPRoutesForVirtualService (1.03 sec)
-
pilot/pkg/networking/core/route/route_test.go
t.Run("for virtual service", func(t *testing.T) { g := NewWithT(t) cg := core.NewConfigGenTest(t, core.TestOptions{}) t.Setenv("ISTIO_DEFAULT_REQUEST_TIMEOUT", "0ms") routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), virtualServicePlain, serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{}) xdstest.ValidateRoutes(t, routes) g.Expect(err).NotTo(HaveOccurred()) g.Expect(len(routes)).To(Equal(1))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
// Sidecar is never terminating TLS IsTLS: false, // Sidecar is never doing H3 (yet) IsHTTP3AltSvcHeaderNeeded: false, Mesh: mesh, } routes, err := BuildHTTPRoutesForVirtualService(node, virtualService, serviceRegistry, hashByDestination, listenPort, meshGateway, opts) if err != nil || len(routes) == 0 { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
Mesh: push.Mesh, } hashByDestination := istio_route.GetConsistentHashForVirtualService(push, node, virtualService) routes, err = istio_route.BuildHTTPRoutesForVirtualService(node, virtualService, nameToServiceMap, hashByDestination, port, sets.New(gatewayName), opts) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0)