package
4.3.0-rc.1
Repository: https://github.com/sylabs/singularity.git
Documentation: pkg.go.dev

# Functions

DownloadImage downloads a SIF image specified by an oci reference to a file using the included credentials.
ImageDigest returns the digest for a file.
No description provided by the author
NewLayerFromSIF creates a new layer, backed by file, with mt as the MediaType.
Pull will pull an oras image to the cache or direct to a temporary file if cache is disabled.
PullToFile will pull an oras image to the specified location, through the cache, or directly if cache is disabled.
RefHash returns the digest of the SIF layer of the OCI manifest for supplied ref.
UploadImage uploads the image specified by path and pushes it to the provided oci reference, it will use credentials if supplied.

# Constants

SifConfigMediaTypeV1 is the config descriptor mediaType for a SIF image.
SifLayerMediaTypeProto is the mediaType from prototyping and Singularity <3.7 which unfortunately includes a typo and doesn't have a version suffix See: https://github.com/hpcng/singularity/issues/4437.
SifLayerMediaTypeV1 is the mediaType for the "layer" which contains the actual SIF file.

# Structs

SifImage implements a go-containerregistry v1.Image representing an ORAS / OCI artifact of a single SIF image.
SifLayer implements a go-containerregistry v1.Layer backed by a SIF file, for ORAS / OCI artifact usage.