Cache Map #
Maps an input hash to a structure of output artifact content hashes.
These mappings are stored in a per-package JSON Lines file in the Lake cache.
Instances For
The current version of the input-to-output mappings file format.
Instances For
Loads a CacheMap from a JSON Lines file.
Errors if the file is ill-formatted or the read fails for other reasons.
Instances For
Save a CacheMap to a JSON Lines file.
Entries already in the file but not in the map will not be removed.
Instances For
Write a CacheMap to a JSON Lines file.
Instances For
Associate output data with the given the input hash.
Instances For
Extract each output from their structured data into a flat array of artifact descriptions.
Instances For
Cache Ref #
Associate output data with the given the input hash.
Instances For
Local Cache #
Returns the artifact directory for the Lake cache.
Instances For
Returns the path to artifact in the Lake cache with extension ext.
Instances For
Returns the artifact in the Lake cache corresponding the given artifact description.
Instances For
Returns the artifact in the Lake cache corresponding the given artifact description. Errors if missing.
Instances For
Returns path to the artifact for each output. Errors if any are missing.
Instances For
The directory where input-to-output mappings are stored in the Lake cache.
Instances For
The file containing the outputs of the given input for the package.
Instances For
The directory where input-to-output mappings of downloaded package revisions are cached.
Instances For
Returns path to the input-to-output mappings of a downloaded package revision.
Instances For
Remote Cache Service #
Configuration of a remote cache service (e.g., Reservoir or an S3 bucket).
A given configuration is not required to support all cache service functions, and no validation
of the configuration is performed by its operations. Users should construct a service that supports
the desired functions by using CacheService's smart constructors
(e.g., reservoir, uploadService).
- impl : Lake.CacheServiceImpl✝
Instances For
Returns the name (if any) used to identifier the service in cached ouptuts.
Instances For
Returns whether this is a Reservoir cache service configuration.
Instances For
Constructors #
Constructs a CacheService for a Reservoir endpoint.
Instances For
Constructs a CacheService to upload artifacts and/or outputs to an S3 endpoint.
Instances For
Constructs a CacheService to download artifacts and/or outputs from an S3 endpoint.
Instances For
Constructs a CacheService to download just artifacts from an S3 endpoint.
Instances For
Reconfigures the cache service to use the provided key (for uploads).
Instances For
Reconfigures the cache service to interpret scopes as repositories (or not if false).
For custom endpoints, if true, Lake will augment the provided scope with
toolchain and platform information in a manner similar to Reservoir.
Instances For
Artifact Transfer #
The MIME type of Lake/Reservoir artifact.
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Instances For
Output Transfer #
The MIME type of Lake/Reservoir input-to-output mappings for a Git revision.