MCPcopy
hub / github.com/google/go-containerregistry / Digest

Method Digest

pkg/v1/image.go:44–44  ·  view source on GitHub ↗

Digest returns the sha256 of this image's manifest.

()

Source from the content-addressed store, hash-verified

42
43 // Digest returns the sha256 of this image's manifest.
44 Digest() (Hash, error)
45
46 // Manifest returns this image's Manifest object.
47 Manifest() (*Manifest, error)

Callers 15

NewCmdAppendFunction · 0.95
TestDiskPushFunction · 0.65
TestTLSFunction · 0.65
v1LayerIDFunction · 0.65
updateLayerSourcesFunction · 0.65
setRefsMethod · 0.65
TestCopyFunction · 0.65
TestCopyWithPlatformFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 4

schema1pkg/v1/remote/schema1.go
FakeImagepkg/v1/fake/image.go
imagepkg/v1/daemon/image.go
imagepkg/v1/mutate/image.go

Calls

no outgoing calls

Tested by 10

TestDiskPushFunction · 0.52
TestTLSFunction · 0.52
setRefsMethod · 0.52
TestCopyFunction · 0.52
TestCopyWithPlatformFunction · 0.52
TestCraneRegistryFunction · 0.52
TestCraneTarballFunction · 0.52
ExampleFunction · 0.52
TestLayerFunction · 0.52
TestImageFunction · 0.52