Documentation ¶
Overview ¶
Package archiver implements the pipeline to efficiently archive file sets to an isolated server as fast as possible.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
Downloader is a high level interface to an isolatedclient.Client.
Downloader provides functionality to download full isolated trees.
func New ¶
func New(ctx context.Context, c *isolatedclient.Client, maxConcurrentJobs int) *Downloader
New returns a Downloader instance.
ctx will be used for logging.
func (*Downloader) FetchIsolated ¶
FetchIsolated downloads an entire isolated tree into a specified output directory.
Returns a list of paths relative to outputDir for all downloaded files.
Note that this method is not thread-safe and it does not flush the Downloader's directory cache.
Click to show internal directories.
Click to hide internal directories.