Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for altHosts (0.17 sec)

  1. pilot/pkg/model/sidecar_test.go

    			},
    			services:  []*Service{serviceA8000},
    			expected:  []*Service{serviceA8000},
    			namespace: "a",
    		},
    		{
    			name: "fall back to wildcard namespace",
    			listenerHosts: map[string]hostClassification{
    				wildcardNamespace: {allHosts: []host.Name{"host"}, exactHosts: sets.New[host.Name]("host")},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  2. pilot/pkg/model/virtualservice_test.go

    		ns := svc.Attributes.Namespace
    		if _, exists := hostsByNamespace[ns]; !exists {
    			hostsByNamespace[ns] = hostClassification{exactHosts: sets.New[host.Name](), allHosts: make([]host.Name, 0)}
    		}
    
    		hc := hostsByNamespace[ns]
    		hc.allHosts = append(hc.allHosts, svc.Hostname)
    		hostsByNamespace[ns] = hc
    
    		if !svc.Hostname.IsWildCarded() {
    			hostsByNamespace[ns].exactHosts.Insert(svc.Hostname)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
Back to top