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

Struct restartableToolset

pkg/runtime/restart_test.go:17–22  ·  view source on GitHub ↗

restartableToolset is a Statable + Restartable + Describer used to drive RestartToolset's matching+dispatch logic in isolation.

Source from the content-addressed store, hash-verified

15// restartableToolset is a Statable + Restartable + Describer used to
16// drive RestartToolset's matching+dispatch logic in isolation.
17type restartableToolset struct {
18 desc string
19 state lifecycle.StateInfo
20 restartErr error
21 restartCall int
22}
23
24func (r *restartableToolset) Tools(context.Context) ([]tools.Tool, error) { return nil, nil }
25func (r *restartableToolset) Describe() string { return r.desc }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected