Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Transport = ociTransport{}
Transport is an ImageTransport for OCI directories.
Functions ¶
func LoadManifestDescriptor ¶
func LoadManifestDescriptor(imgRef types.ImageReference) (imgspecv1.Descriptor, error)
LoadManifestDescriptor loads the manifest descriptor to be used to retrieve the image name when pulling an image
func NewReference ¶
func NewReference(dir, image string) (types.ImageReference, error)
NewReference returns an OCI reference for a directory and a image.
We do not expose an API supplying the resolvedDir; we could, but recomputing it is generally cheap enough that we prefer being confident about the properties of resolvedDir.
func ParseReference ¶
func ParseReference(reference string) (types.ImageReference, error)
ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an OCI ImageReference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.