Documentation ¶
Index ¶
Constants ¶
View Source
const (
K8sPFScheme = "k8spf"
)
View Source
const ProtocolV1Name = "portforward.k8s.io"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodConnection ¶
type PodConnection interface { httpstream.Connection Dial(ctx context.Context, remotePort uint16) (net.Conn, error) }
PodConnection represents a port agnostic stream connection to a pod. This connection can then be used when creating a port-specific connection to the connected pod.
Click to show internal directories.
Click to hide internal directories.