Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lombok (0.08 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    func sortHTTPRoutes(routes []*istio.HTTPRoute) {
    	sort.SliceStable(routes, func(i, j int) bool {
    		if len(routes[i].Match) == 0 {
    			return false
    		} else if len(routes[j].Match) == 0 {
    			return true
    		}
    		// Only look at match[0], we always generate only one match
    		m1, m2 := routes[i].Match[0], routes[j].Match[0]
    		r1, r2 := getURIRank(m1), getURIRank(m2)
    		len1, len2 := getURILength(m1), getURILength(m2)
    		switch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top