Example #1
0
func (l nodeResponseList) Less(i, j int) bool {
	return natsort.Compare(l[i].Name, l[j].Name)
}
Example #2
0
func (l searchResponseList) Less(i, j int) bool {
	return natsort.Compare(l[i].hostResponse.Name, l[j].hostResponse.Name)
}
Example #3
0
func (r ItemListResponse) Less(i, j int) bool {
	return natsort.Compare(r[i].Name, r[j].Name)
}
Example #4
0
func (r StringListResponse) Less(i, j int) bool {
	return natsort.Compare(r[i], r[j])
}
Example #5
0
func (r ScaleValueListResponse) Less(i, j int) bool {
	return natsort.Compare(r[i].Name, r[j].Name)
}
Example #6
0
func (r CollectionListResponse) Less(i, j int) bool {
	return natsort.Compare(r[i].Name, r[j].Name)
}