MCPcopy
hub / github.com/docker/docker-agent / RestartToolset

Method RestartToolset

pkg/app/app.go:252–254  ·  view source on GitHub ↗

RestartToolset triggers a supervisor-driven restart of the named toolset.

(ctx context.Context, name string)

Source from the content-addressed store, hash-verified

250
251// RestartToolset triggers a supervisor-driven restart of the named toolset.
252func (a *App) RestartToolset(ctx context.Context, name string) error {
253 return a.runtime.RestartToolset(ctx, name)
254}
255
256// CurrentAgentCommands returns the commands for the active agent
257func (a *App) CurrentAgentCommands(ctx context.Context) types.Commands {

Callers

nothing calls this directly

Calls 1

RestartToolsetMethod · 0.65

Tested by

no test coverage detected