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

Method Exec

agent/agentcontainers/devcontainercli.go:104–104  ·  view source on GitHub ↗
(ctx context.Context, workspaceFolder, configPath string, cmd string, cmdArgs []string, opts ...DevcontainerCLIExecOptions)

Source from the content-addressed store, hash-verified

102type DevcontainerCLI interface {
103 Up(ctx context.Context, workspaceFolder, configPath string, opts ...DevcontainerCLIUpOptions) (id string, err error)
104 Exec(ctx context.Context, workspaceFolder, configPath string, cmd string, cmdArgs []string, opts ...DevcontainerCLIExecOptions) error
105 ReadConfig(ctx context.Context, workspaceFolder, configPath string, env []string, opts ...DevcontainerCLIReadConfigOptions) (DevcontainerConfig, error)
106}
107

Callers 15

TestReinitFunction · 0.65
waitAndCleanMethod · 0.65
CreateMethod · 0.65
cleanMethod · 0.65
initMethod · 0.65
createCoderTestingDBFunction · 0.65
setDBTimezoneFunction · 0.65
createAndInitDatabaseFunction · 0.65

Implementers 5

fakeDevcontainerCLIcli/open_test.go
devcontainerCLIagent/agentcontainers/devcontainercli.
fakeDevcontainerCLIagent/agentcontainers/api_test.go
MockDevcontainerCLIagent/agentcontainers/acmock/acmock.go
MockDevcontainerCLIMockRecorderagent/agentcontainers/acmock/acmock.go

Calls

no outgoing calls

Tested by 9

TestReinitFunction · 0.52
TestOpen_ValidDBFromFunction · 0.52
testSQLDBFunction · 0.52
TestConnectToPostgresFunction · 0.52
TestDeleteFunction · 0.52