Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPortForwarder ¶
type DefaultPortForwarder struct { k8sgenclioptions.IOStreams // contains filtered or unexported fields }
DefaultPortForwarder implements the SPDY based port forwarder
func NewDefaultPortForwarder ¶
func NewDefaultPortForwarder(componentName, appName string, client *occlient.Client, streams k8sgenclioptions.IOStreams) *DefaultPortForwarder
func (*DefaultPortForwarder) ForwardPorts ¶
func (f *DefaultPortForwarder) ForwardPorts(portPair string, stopChan, readyChan chan struct{}) error
ForwardPorts forwards the port using the url for the remote pod. portPair is a pair of port in format "localPort:RemotePort" that is to be forwarded stop Chan is used to stop port forwarding ready Chan is used to signal failure to the channel receiver
Click to show internal directories.
Click to hide internal directories.