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

Method Read

pkg/config/sources.go:31–31  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

29 Name() string
30 ParentDir() string
31 Read(ctx context.Context) ([]byte, error)
32}
33
34type Sources map[string]Source

Callers 15

GenerateStateFunction · 0.65
fileKeyringPassphraseFunction · 0.65
encryptionKeyMethod · 0.65
persistLockedMethod · 0.65
randomTokenFunction · 0.65
watchConnMethod · 0.65
performHTTPRequestMethod · 0.65
detectMimeTypeFromFileFunction · 0.65
isTextByContentFunction · 0.65
readKeysFunction · 0.65
PackageFileAsOCIToStoreFunction · 0.65

Implementers 6

mockSourcepkg/server/source_loader_test.go
sourceLoaderpkg/server/source_loader.go
fileSourcepkg/config/sources.go
bytesSourcepkg/config/sources.go
ociSourcepkg/config/sources.go
urlSourcepkg/config/sources.go

Calls

no outgoing calls