MCPcopy
hub / github.com/kubernetes/kubectl / DefaultRemoteExecutor

Struct DefaultRemoteExecutor

pkg/cmd/exec/exec.go:125–125  ·  view source on GitHub ↗

DefaultRemoteExecutor is the standard implementation of remote command execution

Source from the content-addressed store, hash-verified

123
124// DefaultRemoteExecutor is the standard implementation of remote command execution
125type DefaultRemoteExecutor struct{}
126
127func (d *DefaultRemoteExecutor) Execute(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error {
128 return d.ExecuteWithContext(context.Background(), url, config, stdin, stdout, stderr, tty, terminalSizeQueue)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected