ByLogging allows custom sorting of pods so the best one can be picked for getting its logs.
| 89 | |
| 90 | // ByLogging allows custom sorting of pods so the best one can be picked for getting its logs. |
| 91 | type ByLogging []*corev1.Pod |
| 92 | |
| 93 | func (s ByLogging) Len() int { return len(s) } |
| 94 | func (s ByLogging) Swap(i, j int) { s[i], s[j] = s[j], s[i] } |
no outgoing calls
no test coverage detected