Documentation ¶
Overview ¶
Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListRunningPods ¶
func ListRunningPods(ctx context.Context, client clientcorev1.PodInterface, depl *appsv1.Deployment) ([]*corev1.Pod, error)
Types ¶
type PodChooser ¶
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.