Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortForwarder ¶
type PortForwarder struct {
// contains filtered or unexported fields
}
func NewPortForwarder ¶
func NewPortForwarder(config *rest.Config, namespace string, pod string, targetPort int, listenAddress string, listenPort int) (*PortForwarder, error)
NewPortForwarder creates Port Forwarder for a Pod After creating Port Forwarder object, call Start() on it to start forwarding channel and Stop() to terminate it
Click to show internal directories.
Click to hide internal directories.