MCPcopy Create free account
hub / github.com/containers/image / storageReference

Struct storageReference

storage/storage_reference.go:24–28  ·  view source on GitHub ↗

A storageReference holds an arbitrary name and/or an ID, which is a 32-byte value hex-encoded into a 64-character string, and a reference to a Store where an image is, or would be, kept. Either "named" or "id" must be set.

Source from the content-addressed store, hash-verified

22// where an image is, or would be, kept.
23// Either "named" or "id" must be set.
24type storageReference struct {
25 transport storageTransport
26 named reference.Named // may include a tag and/or a digest
27 id string
28}
29
30func newReference(transport storageTransport, named reference.Named, id string) (*storageReference, error) {
31 if named == nil && id == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected