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

Method Stop

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

Stop terminates the container

(ctx context.Context, containerName string)

Source from the content-addressed store, hash-verified

19 ExecAs(ctx context.Context, containerName, user string, args ...string) ([]byte, error)
20 // Stop terminates the container
21 Stop(ctx context.Context, containerName string) error
22 // Remove removes the container
23 Remove(ctx context.Context, containerName string) error
24}

Callers 15

netStatusLoopMethod · 0.65
heartbeatRoutineMethod · 0.65
flushQueuedLogsMethod · 0.65
EventuallyFunction · 0.65
startTempPostgresSetURLFunction · 0.65
pollFunction · 0.65
mainFunction · 0.65
NewEventStreamFunction · 0.65
StartMethod · 0.65
AwaitReachableMethod · 0.65
forwardTCPMethod · 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

testDERPSendFunction · 0.52
createProxyReplicasFunction · 0.52
TestDERPMeshFunction · 0.52
waitForExitFunction · 0.52
TestReapInterruptFunction · 0.52
waitForSentinelFunction · 0.52
TestAPIFunction · 0.52