openshiftReference is an ImageReference for OpenShift images.
| 50 | |
| 51 | // openshiftReference is an ImageReference for OpenShift images. |
| 52 | type openshiftReference struct { |
| 53 | dockerReference reference.NamedTagged |
| 54 | namespace string // Computed from dockerReference in advance. |
| 55 | stream string // Computed from dockerReference in advance. |
| 56 | } |
| 57 | |
| 58 | // ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an OpenShift ImageReference. |
| 59 | func ParseReference(ref string) (types.ImageReference, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected