Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetEndpointHost (0.2 sec)

  1. pilot/test/xdstest/endpoints.go

    		return fmt.Errorf("unexpected number of filtered endpoints for %s: got %v, want %v", cluster, len(got), len(want))
    	}
    
    	sort.Slice(got, func(i, j int) bool {
    		addrI := util.GetEndpointHost(got[i].LbEndpoints[0])
    		addrJ := util.GetEndpointHost(got[j].LbEndpoints[0])
    		return addrI < addrJ
    	})
    
    	for i, ep := range got {
    		if len(ep.LbEndpoints) != len(want[i].LbEps) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters.go

    			if b.proxy.InNetwork(epNetwork) || len(gateways) == 0 {
    				// The endpoint is directly reachable - just add it.
    				// If there is no gateway, the address must not be empty
    				if util.GetEndpointHost(lbEp) != "" {
    					lbEndpoints.append(ep.istioEndpoints[i], lbEp)
    				}
    
    				continue
    			}
    			// Cross-network traffic relies on mTLS to be enabled for SNI routing
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top