Versions in this module Expand all Collapse all v0 v0.0.1 Apr 13, 2023 Changes in this version + const PortForwardProtocolV1Name + var ErrLostConnectionToPod = errors.New("lost connection to pod") + type ForwardedPort struct + Local uint16 + Remote uint16 + type PortForwarder struct + Ready chan struct{} + func New(dialer httpstream.Dialer, ports []string, stopChan <-chan struct{}, ...) (*PortForwarder, error) + func NewOnAddresses(dialer httpstream.Dialer, addresses []string, ports []string, ...) (*PortForwarder, error) + func (pf *PortForwarder) Close() + func (pf *PortForwarder) ForwardPorts() error + func (pf *PortForwarder) GetPorts() ([]ForwardedPort, error)