Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for ParseSubsetKey (0.26 sec)

  1. pilot/pkg/networking/core/cluster.go

    		// check with the name of our service (cluster names are in the format outbound|<port>|<subset>|<hostname>).
    		dir, subset, svcHost, port := model.ParseSubsetKey(cluster)
    		// Inbound clusters don't have svchost in its format. So don't add it to serviceClusters.
    		if dir == model.TrafficDirectionInbound {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    	// return virtual service name:port/uri as substitute.
    	if c := in.GetRoute().GetCluster(); model.IsValidSubsetKey(c) {
    		// Parse host and port from cluster name.
    		_, _, h, p := model.ParseSubsetKey(c)
    		return string(h) + ":" + strconv.Itoa(p) + path
    	}
    	return vsName + ":" + strconv.Itoa(port) + path
    }
    
    // BuildDefaultHTTPInboundRoute builds a default inbound route.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    				}
    
    				// simulate an actual call, this ensures we are aligned with the inbound listener configuration
    				_, _, hostname, port := model.ParseSubsetKey(cname)
    				if tt.proxy.Metadata.IstioVersion != "" {
    					// This doesn't work with the legacy proxies which have issues (https://github.com/istio/istio/issues/29199)
    					for _, i := range tt.instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top