MCPcopy
hub / github.com/containerd/containerd / ReaderAt

Method ReaderAt

core/content/content.go:60–60  ·  view source on GitHub ↗

ReaderAt only requires desc.Digest to be set. Other fields in the descriptor may be used internally for resolving the location of the actual data.

(ctx context.Context, desc ocispec.Descriptor)

Source from the content-addressed store, hash-verified

58 // Other fields in the descriptor may be used internally for resolving
59 // the location of the actual data.
60 ReaderAt(ctx context.Context, desc ocispec.Descriptor) (ReaderAt, error)
61}
62
63// Ingester writes content

Callers 15

InstallMethod · 0.65
pushFunction · 0.65
ApplyMethod · 0.65
createAndCopyMethod · 0.65
ReaderAtMethod · 0.65
BlobReadSeekerFunction · 0.65
ReadBlobFunction · 0.65
checkSmallBlobFunction · 0.65
GetDiffIDFunction · 0.65
CheckFunction · 0.65

Implementers 5

contentStorecore/metadata/content.go
fakeProvidercore/content/helpers_test.go
proxyContentStorecore/content/proxy/content_store.go
fakeImagepkg/oci/spec_opts_test.go
storeplugins/content/local/store.go

Calls

no outgoing calls

Tested by 2