Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsValidSubsetKey (0.23 sec)

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

    	// Otherwise there are multiple destination clusters and destination host is not clear. For that case
    	// 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
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top