Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPortForwarder ¶
type DefaultPortForwarder struct {
genericclioptions.IOStreams
}
func (DefaultPortForwarder) ForwardPorts ¶
func (f DefaultPortForwarder) ForwardPorts(method string, url *url.URL, opts PortForwardOptions) error
type PortForwardOptions ¶
type PortForwardOptions struct { Namespace string PodName string RESTClient rest.Interface Config *rest.Config PodClient corev1client.PodsGetter Address []string Ports []string PortForwarder portForwarder StopChannel chan struct{} ReadyChannel chan struct{} }
func (PortForwardOptions) RunPortForward ¶
func (o PortForwardOptions) RunPortForward() error
RunPortForward implements all the necessary functionality for port-forward cmd.
Click to show internal directories.
Click to hide internal directories.