MCPcopy
hub / github.com/containerd/containerd / Export

Method Export

client/export.go:29–31  ·  view source on GitHub ↗

Export exports images to a Tar stream. The tar archive is in OCI format with a Docker compatible manifest when a single target platform is given.

(ctx context.Context, w io.Writer, opts ...archive.ExportOpt)

Source from the content-addressed store, hash-verified

27// The tar archive is in OCI format with a Docker compatible manifest
28// when a single target platform is given.
29func (c *Client) Export(ctx context.Context, w io.Writer, opts ...archive.ExportOpt) error {
30 return archive.Export(ctx, c.ContentStore(), w, opts...)
31}

Callers

nothing calls this directly

Calls 2

ContentStoreMethod · 0.95
ExportFunction · 0.92

Tested by

no test coverage detected