Skip to main content

Module cache

Module cache 

Source
Expand description

Read-only, secret-safe native cache status queries.

Native cache ownership remains with Docker Engine, the selected BuildKit builder, or containerd. Queries use only supported native CLI surfaces and never inspect /var/lib/docker, containerd roots, BuildKit state, or any other implementation-private storage. Raw command output is discarded after conversion into the closed, serializable contract below.

Structs§

BuildxCacheQuery
Read-only BuildKit cache query backed by Docker Buildx.
ContainerdCacheQuery
Explicitly unsupported containerd cache query.
DockerCacheQuery
Read-only Docker Engine cache query.
NativeCacheRecord
Aggregate facts for one stable cache category.
NativeCacheStatus
Stable, deterministic, secret-safe native cache status.

Enums§

CacheQueryStatus
Outcome of a bounded native cache query.
NativeCacheOwner
The native component that owns the reported cache.
NativeCacheRecordKind
A stable cache category. Unknown native labels are rejected instead of entering the output contract as free-form strings.

Constants§

NATIVE_CACHE_STATUS_SCHEMA_VERSION
Version of the stable native-cache status JSON contract.