Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PortForwardPod ¶
func PortForwardPod(ctx context.Context, k8s kubernetes.Interface, kubeconfig, namespace, labelSelector string, remotePort int) (int, chan struct{}, error)
portForwardPod sets up port forwarding to a pod matching the given label selector. Returns the local port, a stop channel to close when done, and any error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.