Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "No version specified"
Set from Makefile
Functions ¶
func ImageVerifierFilenames ¶
ImageVerifierFilenames - Returns pendingFilename, verifierFilename, verifiedFilename for the image. The verifierFilename and verifiedFilename always will have an extension of the media-type, e.g. abcdeff112.application-vnd.oci.image.manifest.v1+json This is because we need the media-type to process the blob. Normally, we carry it around in the status (DownloadStatus -> BlobStatus), but those are ephemeral and lost during a reboot. We need that information to be persistent and survive reboot, so we can reconstruct it. Hence, we preserve it in the filename. It is PathEscape'd so it is filename-safe.
Types ¶
Click to show internal directories.
Click to hide internal directories.