MCPcopy Index your code
hub / github.com/devspace-sh/devspace / ExecBuffered

Method ExecBuffered

pkg/devspace/kubectl/client.go:66–66  ·  view source on GitHub ↗

ExecBuffered starts a new exec request, waits for it to finish and returns the stdout and stderr to the caller

(ctx context.Context, pod *k8sv1.Pod, container string, command []string, input io.Reader)

Source from the content-addressed store, hash-verified

64
65 // ExecBuffered starts a new exec request, waits for it to finish and returns the stdout and stderr to the caller
66 ExecBuffered(ctx context.Context, pod *k8sv1.Pod, container string, command []string, input io.Reader) ([]byte, []byte, error)
67
68 // ExecBufferedCombined starts a new exec request, waits for it to finish and returns the output to the caller
69 ExecBufferedCombined(ctx context.Context, pod *k8sv1.Pod, container string, command []string, input io.Reader) ([]byte, error)

Callers 9

startLocalSSHFunction · 0.65
InjectDevSpaceHelperFunction · 0.65
startTerminalFunction · 0.65
ExecuteRemotelyMethod · 0.65
uploadFromReaderFunction · 0.65
restartContainerFunction · 0.65
ExecByImageSelectorMethod · 0.65
ExecByContainerMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected