Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct { // Client is the kubernetes clientset Client kubernetes.Interface // RestConfig is the kubernetes config RestConfig *rest.Config // Pod is the selected pod for this port forwarding Pod v1.Pod // Cmd contains the command to be executed Cmd []string // Container contains the name of the container in which the cmd should be executed Container string // Stdin contains a Reader if stdin is required (nil if ignored) Stdin io.Reader // Stdout contains a Writer if stdout is required (nil if ignored) Stdout io.Writer // Stderr contains a Writer if stderr is required (nil if ignored) Stderr io.Writer // TTY will enable interactive tty mode (requires stdin) TTY bool }
Request is the structure used as argument for RemoteCmd
Click to show internal directories.
Click to hide internal directories.