# Functions
New creates an *ArchiveFetcher accepting options.
NewArchiveFetcher configures the retryable HTTP client used for fetching archives.
NewArchiveFetcherWithLogger configures the retryable HTTP client used for fetching archives and sets the logger to use.
WithFileMode sets the file mode for the downloaded archive.
WithFileName sets the file name for the downloaded archive.
WithHostnameOverwrite sets an override for the hostname in download URLs.
WithLogger sets a logger for the HTTP client.
WithMaxDownloadSize specifies a limit for the size of the downloaded archive.
WithRetries sets the maximum amount of retries the HTTP client will be allowed to make.
WithUntar tells the ArchiveFetcher to untar the archive expecting it to be a tarball.
# Variables
ErrFileNotFound is an error type used to signal 404 HTTP status code responses.
# Structs
ArchiveFetcher is a flexible API for downloading an archive from an HTTP server, verifying its digest and extracting its contents to a given path in the Filesystem.
# Type aliases
Option is an option for constructing the ArchiveFetcher.