Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/docker-agent
/ Stop
Method
Stop
pkg/tools/capabilities.go:13–13 ·
view source on GitHub ↗
(ctx context.Context)
Source
from the content-addressed store, hash-verified
11
type
Startable
interface
{
12
Start(ctx context.Context) error
13
Stop(ctx context.Context) error
14
}
15
16
// Statable is implemented by toolsets that expose a lifecycle state
Callers
15
TestStartableToolSet_RecoveryResetsStreak
Function · 0.95
TestStartableToolSet_StopResetsFailureState
Function · 0.95
TestStartableToolSet_ShouldReportRecoveryFailure_ResetsOnStop
Function · 0.95
TestStartableToolSetRetryAcrossTurns
Function · 0.95
TestStartableToolSet_RestartAfterStop
Function · 0.95
TestEmbeddedMCPExposesPrefixedTool
Function · 0.95
Stop
Method · 0.65
TestSupervisor_StartSucceedsAndReadies
Function · 0.65
TestSupervisor_StartAdoptsLateConnect
Function · 0.65
TestSupervisor_StartAdoptsLateConnectAfterFirstCtxCancelled
Function · 0.65
TestSupervisor_StopReapsLateConnect
Function · 0.65
TestSupervisor_StartWithinTimeoutSucceeds
Function · 0.65
Implementers
15
StartableToolSet
pkg/tools/startable.go
flappyToolSet
pkg/tools/startable_test.go
reportingToolSet
pkg/tools/startable_test.go
reportingStartOnlyToolSet
pkg/tools/startable_test.go
recoveryFailingToolSet
pkg/tools/startable_test.go
Supervisor
pkg/tools/lifecycle/supervisor.go
codeModeTool
pkg/tools/codemode/codemode.go
testToolSet
pkg/tools/codemode/codemode_test.go
Toolset
pkg/tools/a2a/a2a.go
Toolset
pkg/tools/mcp/mcp.go
ToolSet
pkg/tools/builtin/lsp/lsp.go
Multiplexer
pkg/tools/builtin/lsp/lsp_multiplexer.
Calls
no outgoing calls
Tested by
15
TestStartableToolSet_RecoveryResetsStreak
Function · 0.76
TestStartableToolSet_StopResetsFailureState
Function · 0.76
TestStartableToolSet_ShouldReportRecoveryFailure_ResetsOnStop
Function · 0.76
TestStartableToolSetRetryAcrossTurns
Function · 0.76
TestStartableToolSet_RestartAfterStop
Function · 0.76
TestEmbeddedMCPExposesPrefixedTool
Function · 0.76
TestSupervisor_StartSucceedsAndReadies
Function · 0.52
TestSupervisor_StartAdoptsLateConnect
Function · 0.52
TestSupervisor_StartAdoptsLateConnectAfterFirstCtxCancelled
Function · 0.52
TestSupervisor_StopReapsLateConnect
Function · 0.52
TestSupervisor_StartWithinTimeoutSucceeds
Function · 0.52
TestSupervisor_StartIsIdempotent
Function · 0.52