# Functions
New creates a new PortForwarder with localhost listen addresses.
NewOnAddresses creates a new PortForwarder with custom listen addresses.
# Constants
TODO move to API machinery and re-unify with kubelet/server/portfoward The subprotocol "portforward.k8s.io" is used for port forwarding.
# Structs
ForwardedPort contains a Local:Remote port pairing.
PortForwarder knows how to listen for local connections and forward them to a remote pod via an upgraded HTTP request.