MCPcopy
hub / github.com/containerd/containerd / Writer

Method Writer

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

Writer initiates a writing operation (aka ingestion). A single ingestion is uniquely identified by its ref, provided using a WithRef option. Writer can be called multiple times with the same ref to access the same ingestion. Once all the data is written, use Writer.Commit to complete the ingestion.

(ctx context.Context, opts ...WriterOpt)

Source from the content-addressed store, hash-verified

68 // ingestion.
69 // Once all the data is written, use Writer.Commit to complete the ingestion.
70 Writer(ctx context.Context, opts ...WriterOpt) (Writer, error)
71}
72
73// IngestManager provides methods for managing ingestions. An ingestion is a

Callers 15

writeContentFunction · 0.65
FuzzContentStoreFunction · 0.65
WriterMethod · 0.65
tryUploadFunction · 0.65
createFunction · 0.65
WriterMethod · 0.65
createAndCopyMethod · 0.65
TestContentLeasedFunction · 0.65
TestIngestLeasedFunction · 0.65
UnmarshalAnyMethod · 0.65
OpenWriterFunction · 0.65

Implementers 6

contentStoreDelayerintegration/build_local_containerd_hel
dockerPushercore/remotes/docker/pusher.go
contentStorecore/metadata/content.go
proxyContentStorecore/content/proxy/content_store.go
fakeImagepkg/oci/spec_opts_test.go
storeplugins/content/local/store.go

Calls

no outgoing calls

Tested by 13

FuzzContentStoreFunction · 0.52
WriterMethod · 0.52
tryUploadFunction · 0.52
createFunction · 0.52
TestContentLeasedFunction · 0.52
TestIngestLeasedFunction · 0.52
FuzzContentStoreWriterFunction · 0.52
TestContentWriterFunction · 0.52