Liking cljdoc? Tell your friends :D

monkey.ci.cache

Functionality for saving/restoring caches. This uses blobs.

Functionality for saving/restoring caches.  This uses blobs.
raw docstring

cache-archive-pathclj

(cache-archive-path build id)
source

get-restoredclj

source

get-savedclj

source

make-blob-repositoryclj

(make-blob-repository store build)
source

make-build-api-repositoryclj

(make-build-api-repository client)

Creates an ArtifactRepository that can be used to upload/download caches

Creates an `ArtifactRepository` that can be used to upload/download caches
sourceraw docstring

restore-cachesclj

(restore-caches rt)
source

restore-interceptorclj

(restore-interceptor get-job-ctx)

Interceptor that restores caches using the given repo, build and job retrieved from the context using get-job-ctx. Adds details about the restored caches to the context.

Interceptor that restores caches using the given repo, build and job retrieved
from the context using `get-job-ctx`.  Adds details about the restored caches to
the context.
sourceraw docstring

save-cachesclj

(save-caches rt)

If the job configured in the context uses caching, saves it according to the cache configurations.

If the job configured in the context uses caching, saves it according
to the cache configurations.
sourceraw docstring

save-interceptorclj

(save-interceptor get-job-ctx)

Interceptor that saves caches using the repo, build and job retrieved from the context using get-job-ctx. Adds details about the saved caches to the context.

Interceptor that saves caches using the repo, build and job retrieved
from the context using `get-job-ctx`.  Adds details about the saved caches to
the context.
sourceraw docstring

set-restoredclj

(set-restored ctx r)
source

set-savedclj

(set-saved ctx r)
source

wrap-cachesclj

(wrap-caches f)

Wraps fn f so that caches are restored/saved as configured on the job.

Wraps fn `f` so that caches are restored/saved as configured on the job.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close