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

Struct mockSource

pkg/server/source_loader_test.go:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type mockSource struct {
16 name string
17 parentDir string
18 mu sync.RWMutex
19 data []byte
20 err error
21 readCount int
22}
23
24func (m *mockSource) Name() string {
25 return m.name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected