oci/layout/oci_transport.go
func LoadManifestDescriptor(imgRef types.ImageReference) (imgspecv1.Descriptor, error) {
	ociRef, ok := imgRef.(ociReference)
	if !ok {
		return imgspecv1.Descriptor{}, errors.Errorf("error typecasting, need type ociRef")
	}
	return ociRef.getManifestDescriptor()
}
func LoadManifestDescriptor(imgRef types.ImageReference) (imgspecv1.Descriptor, error) {
	ociRef, ok := imgRef.(ociReference)
	if !ok {
		return imgspecv1.Descriptor{}, errors.Errorf("error typecasting, need type ociRef")
	}
	return ociRef.getManifestDescriptor()
}
func LoadManifestDescriptor ( imgRef types . ImageReference ) ( imgspecv1 . Descriptor , error ) { ociRef , ok := imgRef . ( ociReference ) if ! ok { return imgspecv1 . Descriptor { } , errors . Errorf ( " " ) } return ociRef . getManifestDescriptor ( ) }
// LoadManifestDescriptor loads the manifest descriptor to be used to retrieve the image name
// when pulling an image
LoadManifestDescriptor loads the manifest descriptor to be used to retrieve the image name when pulling an image