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

Struct statefulToolset

pkg/runtime/toolsetstatus_test.go:18–21  ·  view source on GitHub ↗

statefulToolset is a test ToolSet that implements tools.Statable and tools.Describer so we can assert toolsetStatusFor unwraps and reports each piece correctly.

Source from the content-addressed store, hash-verified

16// tools.Describer so we can assert toolsetStatusFor unwraps and reports
17// each piece correctly.
18type statefulToolset struct {
19 desc string
20 info lifecycle.StateInfo
21}
22
23func (s *statefulToolset) Tools(context.Context) ([]tools.Tool, error) { return nil, nil }
24func (s *statefulToolset) Describe() string { return s.desc }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected