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

Method ExecStream

pkg/devspace/kubectl/exec.go:143–145  ·  view source on GitHub ↗

ExecStream executes a command and streams the output to the given streams

(ctx context.Context, options *ExecStreamOptions)

Source from the content-addressed store, hash-verified

141
142// ExecStream executes a command and streams the output to the given streams
143func (client *client) ExecStream(ctx context.Context, options *ExecStreamOptions) error {
144 return client.execStreamWithTransport(ctx, options)
145}
146
147// ExecBuffered executes a command for kubernetes and returns the output and error buffers
148func (client *client) ExecBuffered(ctx context.Context, pod *corev1.Pod, container string, command []string, stdin io.Reader) ([]byte, []byte, error) {

Callers 2

ExecBufferedMethod · 0.95
ExecBufferedCombinedMethod · 0.95

Calls 1

Tested by

no test coverage detected