Skip to main content

Module cache

Module cache 

Source
Expand description

Host-side cache decision.

Resolves a wire-typed CommandStep against the local Docker daemon and returns the wire-typed CacheDecision consumed by step-executor plugins (design spec §5.5).

Cache keys are computed by harmont.keygen at plan time and ride along the JSON in cache.key. We turn them into Docker image tags and consult the local image store.

Functions§

decide
Decide cache outcome for a step against the local Docker daemon.