MCPcopy Index your code
hub / github.com/linuxkit/linuxkit / Tag

Method Tag

src/cmd/linuxkit/registry/remote.go:75–81  ·  view source on GitHub ↗
(ref name.Tag, t remote.Taggable, options ...remote.Option)

Source from the content-addressed store, hash-verified

73}
74
75func (r *Remote) Tag(ref name.Tag, t remote.Taggable, options ...remote.Option) error {
76 opts, err := r.rewriteTLSTransport(options)
77 if err != nil {
78 return fmt.Errorf("rewriting TLS transport for %q: %w", ref.Name(), err)
79 }
80 return remote.Tag(ref, t, opts...)
81}
82
83func (r *Remote) Push(ref name.Reference, t remote.Taggable, options ...remote.Option) error {
84 var err error

Callers

nothing calls this directly

Calls 2

rewriteTLSTransportMethod · 0.95
TagMethod · 0.65

Tested by

no test coverage detected