- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for VirtualServiceHosts (0.31 sec)
-
pilot/pkg/networking/core/gateway.go
func pickMatchingGatewayHosts(gatewayServerHosts sets.Set[host.Name], virtualService config.Config) map[string]host.Name { matchingHosts := make(map[string]host.Name) virtualServiceHosts := virtualService.Spec.(*networking.VirtualService).Hosts for _, vsvcHost := range virtualServiceHosts { for gatewayHost := range gatewayServerHosts { gwHostnameForMatching := gatewayHost if strings.Contains(string(gwHostnameForMatching), "/") {
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/route/route.go
Services []*model.Service // VirtualServiceHosts is a list of hosts defined in the virtual service // if virtual service hostname is same as a the service registry host, then // the host would appear in Services as we need to generate all variants of the // service's hostname within a platform (e.g., foo, foo.default, foo.default.svc, etc.) VirtualServiceHosts []string // Routes in the virtual host
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/httproute.go
if len(virtualHostWrapper.Routes) == 0 { continue } virtualHosts := make([]*route.VirtualHost, 0, len(virtualHostWrapper.VirtualServiceHosts)+len(virtualHostWrapper.Services)) for _, hostname := range virtualHostWrapper.VirtualServiceHosts { if vhost := buildVirtualHost(hostname, virtualHostWrapper, nil); vhost != nil { virtualHosts = append(virtualHosts, vhost) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.7K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
) // The service hosts (*.example.org and goodbye.hello.example.org) and the unattached VS host (*.google.com) g.Expect(vhosts).To(HaveLen(3)) for _, vhost := range vhosts { if len(vhost.VirtualServiceHosts) > 0 && vhost.VirtualServiceHosts[0] == "*.google.com" { // The *.google.com VS shouldn't have any services g.Expect(vhost.Services).To(HaveLen(0)) } else { // The other two VSs should have one service each
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0)