type byPriority … func (a byPriority) Len() int { … } func (a byPriority) Swap(i, j int) { … } func (a byPriority) Less(i, j int) bool { … } func sortByPriority(apiServices []*apiregistrationv1.APIService) { … }
type byPriority … func (a byPriority) Len() int { … } func (a byPriority) Swap(i, j int) { … } func (a byPriority) Less(i, j int) bool { … } func sortByPriority(apiServices []*apiregistrationv1.APIService) { … }