MCPcopy Index your code
hub / github.com/coder/coder / WithExecOutput

Function WithExecOutput

agent/agentcontainers/devcontainercli.go:147–152  ·  view source on GitHub ↗

WithExecOutput sets additional stdout and stderr writers for logs during Exec operations.

(stdout, stderr io.Writer)

Source from the content-addressed store, hash-verified

145// WithExecOutput sets additional stdout and stderr writers for logs
146// during Exec operations.
147func WithExecOutput(stdout, stderr io.Writer) DevcontainerCLIExecOptions {
148 return func(o *DevcontainerCLIExecConfig) {
149 o.Stdout = stdout
150 o.Stderr = stderr
151 }
152}
153
154// WithExecContainerID sets the container ID to target a specific
155// container.

Callers 1

Calls

no outgoing calls

Tested by 1