INNER CODE UNIT · Go

func

airwallex/k8s-pod-restart-info-collector · helpers.go:398

func (list SortableResourceNames) Len() int {
	return len(list)
}

func (list SortableResourceNames) Swap(i, j int) {
	list[i], list[j] = list[j], list[i]
}

func (list SortableResourceNames) Less(i, j int) bool {
	return list[i] < list[j]
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…