Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRunningPods ¶
func ListRunningPods(client clientcorev1.PodInterface, depl *appsv1.Deployment) ([]*corev1.Pod, error)
Types ¶
type RandomPodChooser ¶
type RandomPodChooser struct { RandSource rand.Source PodClient clientcorev1.PodInterface Deployment *appsv1.Deployment }
type StickyPodChooser ¶
type StickyPodChooser struct { Key string PodClient clientcorev1.PodInterface Deployment *appsv1.Deployment }
Click to show internal directories.
Click to hide internal directories.