MCPcopy
hub / github.com/containerd/containerd / Unpack

Method Unpack

client/image.go:51–51  ·  view source on GitHub ↗

Unpack unpacks the image's content into a snapshot

(context.Context, string, ...UnpackOpt)

Source from the content-addressed store, hash-verified

49 Labels() map[string]string
50 // Unpack unpacks the image's content into a snapshot
51 Unpack(context.Context, string, ...UnpackOpt) error
52 // RootFS returns the unpacked diffids that make up images rootfs.
53 RootFS(ctx context.Context) ([]digest.Digest, error)
54 // Size returns the total size of the image's packed resources.

Callers 14

testExportImportFunction · 0.95
NewContainerFunction · 0.95
PullMethod · 0.65
checkAndDoUnpackFunction · 0.65
TestImageIsUnpackedFunction · 0.65
TestImageUsageFunction · 0.65
pullMethod · 0.65
importStreamMethod · 0.65
mutateImageMountMethod · 0.65
snapshots.goFile · 0.65
mount.goFile · 0.65
pull.goFile · 0.65

Implementers 1

imageclient/image.go

Calls

no outgoing calls

Tested by 4

testExportImportFunction · 0.76
checkAndDoUnpackFunction · 0.52
TestImageIsUnpackedFunction · 0.52
TestImageUsageFunction · 0.52