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

Struct testDevcontainerExecer

agent/agentcontainers/devcontainercli_test.go:444–449  ·  view source on GitHub ↗

testDevcontainerExecer implements the agentexec.Execer interface for testing.

Source from the content-addressed store, hash-verified

442
443// testDevcontainerExecer implements the agentexec.Execer interface for testing.
444type testDevcontainerExecer struct {
445 testExePath string
446 wantArgs string
447 wantError bool
448 logFile string
449}
450
451// CommandContext returns a test binary command that simulates devcontainer responses.
452func (e *testDevcontainerExecer) CommandContext(ctx context.Context, name string, args ...string) *exec.Cmd {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected