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

Struct namedFake

pkg/tools/named_test.go:21–25  ·  view source on GitHub ↗

namedFake is a fakeToolSet that already advertises a Name(); WithName must respect that and return the inner toolset unchanged.

Source from the content-addressed store, hash-verified

19// namedFake is a fakeToolSet that already advertises a Name(); WithName
20// must respect that and return the inner toolset unchanged.
21type namedFake struct {
22 fakeToolSet
23
24 name string
25}
26
27func (n namedFake) Name() string { return n.name }
28

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected