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