Execute supports executing remote command in a pod.
(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue)
| 116 | type RemoteExecutor interface { |
| 117 | // Execute supports executing remote command in a pod. |
| 118 | Execute(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error |
| 119 | |
| 120 | // ExecuteWithContext, in contrast to Execute, supports stopping the remote command via context cancellation. |
| 121 | ExecuteWithContext(ctx context.Context, url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error |
no outgoing calls