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

Method Remove

agent/agentcontainers/containers.go:23–23  ·  view source on GitHub ↗

Remove removes the container

(ctx context.Context, containerName string)

Source from the content-addressed store, hash-verified

21 Stop(ctx context.Context, containerName string) error
22 // Remove removes the container
23 Remove(ctx context.Context, containerName string) error
24}
25
26// noopContainerCLI is a ContainerCLI that does nothing.

Callers 15

compressMethod · 0.65
TestCliTemplateCreateFunction · 0.65
TestTemplatePushFunction · 0.65
Test_ensureTLSConfigFunction · 0.65
TestGitSSHFunction · 0.65
TestLogoutFunction · 0.65
dotfilesMethod · 0.65
gitsshFunction · 0.65
setupSocketServerFunction · 0.65
supportBundleMethod · 0.65
DeleteMethod · 0.65

Implementers 6

fakeContainerCLIcli/open_test.go
dockerCLIagent/agentcontainers/containers_docke
fakeContainerCLIagent/agentcontainers/api_test.go
noopContainerCLIagent/agentcontainers/containers.go
MockContainerCLIagent/agentcontainers/acmock/acmock.go
MockContainerCLIMockRecorderagent/agentcontainers/acmock/acmock.go

Calls

no outgoing calls

Tested by 15

TestCliTemplateCreateFunction · 0.52
TestTemplatePushFunction · 0.52
Test_ensureTLSConfigFunction · 0.52
TestGitSSHFunction · 0.52
TestLogoutFunction · 0.52
setupSocketServerFunction · 0.52
TestChecksumFileCRC32Function · 0.52
TestSnapshotChangedFunction · 0.52
TestReloadFunction · 0.52