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

Struct dockerReference

docker/docker_transport.go:50–53  ·  view source on GitHub ↗

dockerReference is an ImageReference for Docker images.

Source from the content-addressed store, hash-verified

48
49// dockerReference is an ImageReference for Docker images.
50type dockerReference struct {
51 ref reference.Named // By construction we know that !reference.IsNameOnly(ref) unless isUnknownDigest=true
52 isUnknownDigest bool
53}
54
55// ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an Docker ImageReference.
56func ParseReference(refString string) (types.ImageReference, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected