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