package
1.5.1
Repository: https://github.com/mirantis/virtlet.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetHexDigest returns the hex digest contained in imageSpec, if any, or an empty string if imageSpec doesn't have the spec.
GetImageVirtualSize returns the virtual size of the specified QCOW2 image.
NewDownloader returns the default downloader for 'protocol'.
NewFileStore creates a new FileStore that will be using the specified dir to store the images, image downloader and a function for getting virtual size of the image.
SplitImageName parses image nmae and returns the name sans tag and the digest, if any.

# Structs

Endpoint contains all the endpoint parameters needed to download a file.
FileStore implements Store.
Image describes an image.
TLSCertificate is a x509 certificate with optional private key.
TLSConfig has the TLS transport parameters.

# Interfaces

Downloader is an interface for downloading files from web.
Store is an interface for the image store.

# Type aliases

RefGetter is a function that returns the list of images that are currently in use.
Translator translates image name to a Endpoint.
VirtualSizeFunc specifies a function that returns the virtual size of the specified QCOW2 image file.