MCPcopy Index your code
hub / github.com/docker/docker-agent / Close

Method Close

cmd/root/backend.go:45–45  ·  view source on GitHub ↗

Close releases backend-owned resources (e.g., the shared session store). It is called once when the embedder is shutting down, after every per-session cleanup has run.

()

Source from the content-addressed store, hash-verified

43 // store). It is called once when the embedder is shutting down,
44 // after every per-session cleanup has run.
45 Close() error
46}
47
48// selectBackend picks the backend implied by the current flags.

Callers 12

streamCompletionMethod · 0.65
dispatchModelsRequestFunction · 0.65
writeUniqueFileFunction · 0.65
CreateSessionMethod · 0.65
CloseMethod · 0.65
NewRootCmdFunction · 0.65
isFirstRunFunction · 0.65
setStdinFunction · 0.65
runEvalCommandMethod · 0.65
startAttachedServerMethod · 0.65
runOrExecMethod · 0.65
newListenerFunction · 0.65

Implementers 3

workdirRecordingBackendcmd/root/run_worktree_order_test.go
localBackendcmd/root/backend.go
remoteBackendcmd/root/backend.go

Calls

no outgoing calls

Tested by 1

setStdinFunction · 0.52