package
0.34.0
Repository: https://github.com/tilt-dev/tilt.git
Documentation: pkg.go.dev

# Functions

New creates a new PortForwarder with localhost listen addresses.
NewFallbackDialer creates the FallbackDialer with the primary and secondary dialers, as well as the boolean function to determine if the primary dialer failed.
NewOnAddresses creates a new PortForwarder with custom listen addresses.
NewTunnelingDialer creates and returns the tunnelingDialer structure which implemements the "httpstream.Dialer" interface.
NewTunnelingConnection wraps the passed gorilla/websockets connection with the TunnelingConnection struct (implementing net.Conn).

# Constants

No description provided by the author
PortForwardProtocolV1Name is the subprotocol used for port forwarding.

# Variables

error returned whenever we lost connection to a pod.

# Structs

FallbackDialer encapsulates a primary and secondary dialer, including the boolean function to determine if the primary dialer failed.
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.
TunnelingConnection implements the "httpstream.Connection" interface, wrapping a websocket connection that tunnels SPDY.