const dataChannel …
const errorChannel …
const v4BinaryWebsocketProtocol …
const v4Base64WebsocketProtocol …
type V4Options …
func NewV4Options(req *http.Request) (*V4Options, error) { … }
func BuildV4Options(ports []int32) (*V4Options, error) { … }
func handleWebSocketStreams(req *http.Request, w http.ResponseWriter, portForwarder PortForwarder, podName string, uid types.UID, opts *V4Options, supportedPortForwardProtocols []string, idleTimeout, streamCreationTimeout time.Duration) error { … }
type websocketStreamPair …
type websocketStreamHandler …
func (h *websocketStreamHandler) run() { … }
func (h *websocketStreamHandler) portForward(p *websocketStreamPair) { … }