type PortForwardOptions …
var portforwardLong …
var portforwardExample …
const defaultPodPortForwardWaitTimeout …
func NewCmdPortForward(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command { … }
func NewDefaultPortForwardOptions(streams genericiooptions.IOStreams) *PortForwardOptions { … }
type portForwarder …
type defaultPortForwarder …
func createDialer(method string, url *url.URL, opts PortForwardOptions) (httpstream.Dialer, error) { … }
func (f *defaultPortForwarder) ForwardPorts(method string, url *url.URL, opts PortForwardOptions) error { … }
func splitPort(port string) (local, remote string) { … }
func translateServicePortToTargetPort(ports []string, svc corev1.Service, pod corev1.Pod) ([]string, error) { … }
func convertPodNamedPortToNumber(ports []string, pod corev1.Pod) ([]string, error) { … }
func checkUDPPorts(udpOnlyPorts sets.Int, ports []string, obj metav1.Object) error { … }
func checkUDPPortInService(ports []string, svc *corev1.Service) error { … }
func checkUDPPortInPod(ports []string, pod *corev1.Pod) error { … }
func (o *PortForwardOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error { … }
func (o PortForwardOptions) Validate() error { … }
func (o PortForwardOptions) RunPortForward() error { … }
func (o PortForwardOptions) RunPortForwardContext(ctx context.Context) error { … }