Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for virtualServiceDestinations (0.19 sec)

  1. pilot/pkg/model/push_context.go

    	for _, pm := range metrics {
    		mmap := ps.ProxyStatus[pm.Name()]
    		pm.Record(float64(len(mmap)))
    	}
    }
    
    // It is called after virtual service short host name is resolved to FQDN
    func virtualServiceDestinations(v *networking.VirtualService) map[string]sets.Set[int] {
    	if v == nil {
    		return nil
    	}
    
    	out := make(map[string]sets.Set[int])
    
    	addDestination := func(host string, port *networking.PortSelector) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    			for _, cfg := range VirtualServiceDependencies(vs) {
    				sc.AddConfigDependencies(cfg.HashCode())
    			}
    			v := vs.Spec.(*networking.VirtualService)
    			for h, ports := range virtualServiceDestinations(v) {
    				byNamespace := ps.ServiceIndex.HostnameAndNamespace[host.Name(h)]
    				// Default to this hostname in our config namespace
    				if s, ok := byNamespace[configNamespace]; ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top