Documentation
¶
Index ¶
- Variables
- func CreateCacheArchive(fileName, inputDir string, logger log.Logger) error
- func DownloadFromBuildCache(fileName, key, accessToken, cacheURL string, logger log.Logger) error
- func ExtractCacheArchive(fileName string, logger log.Logger) error
- func GetCacheKey(envProvider func(string) string) (string, error)
- func RestoreMTime(metadata *Metadata, rootDir string, logger log.Logger) error
- func SaveMetadata(rootDir string, fileName string, logger log.Logger) error
- func UploadToBuildCache(filePath, key, accessToken, cacheURL string, logger log.Logger) error
- type FileInfo
- type Metadata
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheNotFound = errors.New("no cache archive found for the provided keys")
ErrCacheNotFound ...
Functions ¶
func CreateCacheArchive ¶
func DownloadFromBuildCache ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.