Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // Sort pods in descending "scale down" priority order, which means // the higher priority to be scaled down the pod is, the smaller will its index be. Sort(context.Context, []*corev1.Pod) ([]*corev1.Pod, error) }
Interface provides a method to sort pods. Check method comment for ordering requirement.
Click to show internal directories.
Click to hide internal directories.