MCPcopy
hub / github.com/containerd/containerd / pushWriter

Struct pushWriter

core/remotes/docker/pusher.go:349–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349type pushWriter struct {
350 base *dockerBase
351 ref string
352
353 pipe *io.PipeWriter
354
355 done chan struct{}
356 closeOnce sync.Once
357
358 pipeC chan *io.PipeWriter
359 respC chan *http.Response
360 errC chan error
361
362 isManifest bool
363
364 expected digest.Digest
365 tracker StatusTracker
366}
367
368func newPushWriter(db *dockerBase, ref string, expected digest.Digest, tracker StatusTracker, isManifest bool) *pushWriter {
369 // Initialize and create response

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected