package podchooser
import "github.com/docker/buildx/driver/kubernetes/podchooser"
Index ¶
- func ListRunningPods(ctx context.Context, client kubeclient.PodClient, depl *appsv1.Deployment) ([]*corev1.Pod, error)
- type PodChooser
- type RandomPodChooser
- type StickyPodChooser
Functions ¶
func ListRunningPods ¶
func ListRunningPods(ctx context.Context, client kubeclient.PodClient, depl *appsv1.Deployment) ([]*corev1.Pod, error)
Types ¶
type PodChooser ¶
type RandomPodChooser ¶
type RandomPodChooser struct {
RandSource rand.Source
PodClient kubeclient.PodClient
Deployment *appsv1.Deployment
}
func (*RandomPodChooser) ChoosePod ¶
type StickyPodChooser ¶
type StickyPodChooser struct {
Key string
PodClient kubeclient.PodClient
Deployment *appsv1.Deployment
}
func (*StickyPodChooser) ChoosePod ¶
Source Files ¶
- Version
- v0.33.0 (latest)
- Published
- Mar 31, 2026
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 1 hour ago –
Tools for package owners.