MCPcopy Create free account
hub / github.com/docker/cli / Digest

Method Digest

cmd/docker-trust/internal/trust/trust.go:411–413  ·  view source on GitHub ↗

Digest returns the Image digest for a given ImageRefAndAuth

()

Source from the content-addressed store, hash-verified

409
410// Digest returns the Image digest for a given ImageRefAndAuth
411func (imgRefAuth *ImageRefAndAuth) Digest() digest.Digest {
412 return imgRefAuth.digest
413}
414
415// Name returns the image name used to initialize the ImageRefAndAuth
416func (imgRefAuth *ImageRefAndAuth) Name() string {

Callers 2

TestGetDigestFunction · 0.45
getDigestFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestGetDigestFunction · 0.36