Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for virtualServiceDestinations (0.38 sec)

  1. pkg/config/analysis/analyzers/virtualservice/destinationhosts.go

    	serviceEntryHosts := util.InitServiceEntryHostMap(ctx)
    	virtualServiceDestinations := initVirtualServiceDestinations(ctx)
    
    	ctx.ForEach(gvk.VirtualService, func(r *resource.Instance) bool {
    		a.analyzeVirtualService(r, ctx, serviceEntryHosts)
    		a.analyzeSubset(r, ctx, virtualServiceDestinations)
    		return true
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 15:18:05 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. 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)
  3. 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