package
3.8.7+incompatible
Repository: https://github.com/hpcng/singularity.git
Documentation: pkg.go.dev

# Functions

DownloadImage image will download a shub image to a path.
GetManifest will return the image manifest for a container uri from Singularity Hub.
ParseReference accepts a valid Shub reference string and parses its content It will return an error if the given URI is not valid, otherwise it will parse the contents into a URI struct.
Pull will pull a shub image to the cache or direct to a temporary file if cache is disabled.
PullToFile will pull a shub image to the specified location, through the cache, or directly if cache is disabled.

# Constants

URINotSupported if we are using a non default registry error out for now.

# Structs

APIResponse holds the information returned from the Shub API.
URI stores the various components of a singularityhub URI.