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

Struct fakeRemoteExecutor

pkg/cmd/exec/exec_test.go:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41)
42
43type fakeRemoteExecutor struct {
44 url *url.URL
45 execErr error
46}
47
48func (f *fakeRemoteExecutor) Execute(url *url.URL, config *restclient.Config, stdin io.Reader, stdout, stderr io.Writer, tty bool, terminalSizeQueue remotecommand.TerminalSizeQueue) error {
49 return f.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