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

Method Tag

pkg/name/repository.go:112–119  ·  view source on GitHub ↗

Tag returns a Tag in this Repository.

(identifier string)

Source from the content-addressed store, hash-verified

110
111// Tag returns a Tag in this Repository.
112func (r Repository) Tag(identifier string) Tag {
113 t := Tag{
114 tag: identifier,
115 Repository: r,
116 }
117 t.original = t.Name()
118 return t
119}
120
121// Digest returns a Digest in this Repository.
122func (r Repository) Digest(identifier string) Digest {

Callers 9

TestRepositoryChildrenFunction · 0.95
listFunction · 0.95
copyImagesMethod · 0.80
TestCopyFunction · 0.80
TestSchema1Function · 0.80
fallbackTagFunction · 0.80
TestCommitImageFunction · 0.80
MultiSaveFunction · 0.80
TagFunction · 0.80

Calls 1

NameMethod · 0.95

Tested by 4

TestRepositoryChildrenFunction · 0.76
TestCopyFunction · 0.64
TestSchema1Function · 0.64
TestCommitImageFunction · 0.64