Versions in this module Expand all Collapse all v2 v2.0.0 Apr 23, 2023 Changes in this version + func ForwardOnePort(fw PortForward, ns, resource string, port uint16) (string, uint16, context.CancelFunc, error) + type PortForward interface + Forward func(namespace, resourceName string, addresses []string, ports []string) ([]portforward.ForwardedPort, context.CancelFunc, error) + ForwardPod func(pod *corev1.Pod, addresses []string, ports []string) ([]portforward.ForwardedPort, context.CancelFunc, error) + func NewPortForwarder(ctx context.Context, restClientGetter genericclioptions.RESTClientGetter, ...) (PortForward, error)