Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortConfig ¶ added in v0.2.2
type PortForwarder ¶
type PortForwarder struct { Namespace string Name string Ports []PortConfig Forwarder *portforward.PortForwarder }
func PortForward ¶
func PortForward(f cmdutil.Factory, namespace string, svcName string, localIP net.IP, ports []PortConfig) (PortForwarder, error)
PortForward opens up a socket for the given local IP address and port and forwards it to the specified service and target port.
Click to show internal directories.
Click to hide internal directories.