Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRunningPods ¶
func ListRunningPods(ctx context.Context, client kubeclient.PodClient, depl *appsv1.Deployment, stat *appsv1.StatefulSet) ([]*corev1.Pod, error)
Types ¶
type RandomPodChooser ¶
type RandomPodChooser struct {
PodClient kubeclient.PodClient
Deployment *appsv1.Deployment
StatefulSet *appsv1.StatefulSet
}
type StickyPodChooser ¶
type StickyPodChooser struct {
Key string
PodClient kubeclient.PodClient
Deployment *appsv1.Deployment
StatefulSet *appsv1.StatefulSet
}
Click to show internal directories.
Click to hide internal directories.