Documentation ¶
Overview ¶
Package execforward is the main entrypoint that provides the high level functionality used by the exec-forward CLI. It defines the lifecycle of a forwarding connection, including "pre" and "post" connect hooks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, client *forwarder.Client, hooksConfig *Config, cliArgs map[string]string, resource string, portMap string, streams genericclioptions.IOStreams) error
Run executes hooks found on the passed resource's underlying pod annotations and opens a forwarding connection to the resource.
Types ¶
Click to show internal directories.
Click to hide internal directories.