Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VirtualServiceHosts (0.18 sec)

  1. 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)
  2. 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)
Back to top