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

Function WithDevcontainerCLI

agent/agentcontainers/api.go:178–182  ·  view source on GitHub ↗

WithDevcontainerCLI sets the DevcontainerCLI implementation to use. This can be used in tests to modify @devcontainer/cli behavior.

(dccli DevcontainerCLI)

Source from the content-addressed store, hash-verified

176// WithDevcontainerCLI sets the DevcontainerCLI implementation to use.
177// This can be used in tests to modify @devcontainer/cli behavior.
178func WithDevcontainerCLI(dccli DevcontainerCLI) Option {
179 return func(api *API) {
180 api.dccli = dccli
181 }
182}
183
184// WithSubAgentClient sets the SubAgentClient implementation to use.
185// This is used to list, create, and delete devcontainer agents.

Calls

no outgoing calls