Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sortedEndpointSlices (0.13 sec)

  1. pkg/proxy/config/config_test.go

    			return
    		}
    	}
    }
    
    type sortedEndpointSlices []*discoveryv1.EndpointSlice
    
    func (s sortedEndpointSlices) Len() int {
    	return len(s)
    }
    func (s sortedEndpointSlices) Swap(i, j int) {
    	s[i], s[j] = s[j], s[i]
    }
    func (s sortedEndpointSlices) Less(i, j int) bool {
    	return s[i].Name < s[j].Name
    }
    
    type EndpointSliceHandlerMock struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top