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