package podchooser
import "github.com/docker/buildx/driver/kubernetes/podchooser"
Index ¶
- func ListRunningPods(ctx context.Context, client clientcorev1.PodInterface, depl *appsv1.Deployment) ([]*corev1.Pod, error)
- type PodChooser
- type RandomPodChooser
- type StickyPodChooser
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 }
func (*RandomPodChooser) ChoosePod ¶
type StickyPodChooser ¶
type StickyPodChooser struct { Key string PodClient clientcorev1.PodInterface Deployment *appsv1.Deployment }
func (*StickyPodChooser) ChoosePod ¶
Source Files ¶
- Version
- v0.22.0 (latest)
- Published
- Mar 17, 2025
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 3 weeks ago –
Tools for package owners.