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

Method Tag

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

Tag returns the Image tag for a given ImageRefAndAuth

()

Source from the content-addressed store, hash-verified

404
405// Tag returns the Image tag for a given ImageRefAndAuth
406func (imgRefAuth *ImageRefAndAuth) Tag() string {
407 return imgRefAuth.tag
408}
409
410// Digest returns the Image digest for a given ImageRefAndAuth
411func (imgRefAuth *ImageRefAndAuth) Digest() digest.Digest {

Callers 7

revokeTrustFunction · 0.45
runSignImageFunction · 0.45
signAndPublishToTargetFunction · 0.45
validateTagFunction · 0.45
lookupTrustInfoFunction · 0.45
PushTrustedReferenceFunction · 0.45
getTagFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected