MCPcopy
hub / github.com/containerd/containerd / Usage

Method Usage

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

Usage returns a usage calculation for the image.

(context.Context, ...UsageOpt)

Source from the content-addressed store, hash-verified

55 Size(ctx context.Context) (int64, error)
56 // Usage returns a usage calculation for the image.
57 Usage(context.Context, ...UsageOpt) (int64, error)
58 // Config descriptor for the image.
59 Config(ctx context.Context) (ocispec.Descriptor, error)
60 // IsUnpacked returns whether an image is unpacked.

Callers 8

TestImageUsageFunction · 0.65
syncMethod · 0.65
snapshots.goFile · 0.65
usage.goFile · 0.65
testUsageFunction · 0.65
UsageMethod · 0.65
UsageMethod · 0.65

Implementers 1

imageclient/image.go

Calls

no outgoing calls

Tested by 2

TestImageUsageFunction · 0.52
testUsageFunction · 0.52