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

Function WithUpOutput

agent/agentcontainers/devcontainercli.go:128–133  ·  view source on GitHub ↗

WithUpOutput sets additional stdout and stderr writers for logs during Up operations.

(stdout, stderr io.Writer)

Source from the content-addressed store, hash-verified

126// WithUpOutput sets additional stdout and stderr writers for logs
127// during Up operations.
128func WithUpOutput(stdout, stderr io.Writer) DevcontainerCLIUpOptions {
129 return func(o *DevcontainerCLIUpConfig) {
130 o.Stdout = stdout
131 o.Stderr = stderr
132 }
133}
134
135// DevcontainerCLIExecOptions are options for the devcontainer CLI Exec
136// command.

Callers 2

CreateDevcontainerMethod · 0.85

Calls

no outgoing calls

Tested by 1