dockerReference is an ImageReference for Docker images.
| 48 | |
| 49 | // dockerReference is an ImageReference for Docker images. |
| 50 | type 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. |
| 56 | func ParseReference(refString string) (types.ImageReference, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected