MCPcopy
hub / github.com/containerd/containerd / RootFS

Method RootFS

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

RootFS returns the unpacked diffids that make up images rootfs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

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.
55 Size(ctx context.Context) (int64, error)
56 // Usage returns a usage calculation for the image.

Callers 15

RootFSMethod · 0.65
WithRestoreImageFunction · 0.65
withNewSnapshotFunction · 0.65
withRemappedSnapshotBaseFunction · 0.65
TestMountAtRuntimeFunction · 0.65
TestLeaseResourcesFunction · 0.65
getImageMethod · 0.65
mutateImageMountMethod · 0.65
CRImportCheckpointMethod · 0.65

Implementers 1

imageclient/image.go

Calls

no outgoing calls