Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(env *runtime.Env) (kubernetes.Interface, error)
NewClient creates a new Kubernetes client.
func PortForward ¶ added in v0.58.0
PortForward establishes a port-forwarding session to a pod.
This first attempts tunneling (websocket) dialer, then fallback to SPDY dialer. Please note that the websocket works only with k8s 1.30 with the "PortForwardWebsockets" feature gate enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.