- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for buildNameToServiceMapForHTTPRoutes (0.22 sec)
-
pilot/pkg/networking/core/gateway.go
return bind + "_" + strconv.Itoa(port) case istionetworking.TransportProtocolQUIC: return "udp_" + bind + "_" + strconv.Itoa(port) } return "unknown" } func buildNameToServiceMapForHTTPRoutes(node *model.Proxy, push *model.PushContext, virtualService config.Config, ) map[host.Name]*model.Service { vs := virtualService.Spec.(*networking.VirtualService)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_test.go
}, }) proxy := &pilot_model.Proxy{ Type: pilot_model.Router, ConfigNamespace: "test", } proxy = cg.SetupProxy(proxy) nameToServiceMap := buildNameToServiceMapForHTTPRoutes(proxy, cg.env.PushContext(), virtualService) if len(nameToServiceMap) != 5 { t.Errorf("The length of nameToServiceMap is wrong.") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 144K bytes - Viewed (0)