EngineCache
API reference
A cache storage for the Dagger engine
Implements Node
id: ID!
A unique identifier for this EngineCache.
maxUsedSpace: Int!
The maximum bytes to keep in the cache without pruning.
minFreeSpace: Int!
The target amount of free disk space the garbage collector will attempt to leave.
prune(useDefaultPolicy: Boolean = false,maxUsedSpace: String = "",reservedSpace: String = "",minFreeSpace: String = "",targetSpace: String = ""): Void
Prune the cache of releaseable entries
useDefaultPolicy: Boolean = falseUse the engine-wide default pruning policy if true, otherwise prune the whole cache of any releasable entries.
maxUsedSpace: String = ""Override the maximum disk space to keep before pruning (e.g. "200GB" or "80%").
reservedSpace: String = ""Override the minimum disk space to retain during pruning (e.g. "500GB" or "10%").
minFreeSpace: String = ""Override the minimum free disk space target during pruning (e.g. "20GB" or "20%").
targetSpace: String = ""Override the target disk space to keep after pruning (e.g. "200GB" or "50%").
reservedSpace: Int!
The minimum amount of disk space this policy is guaranteed to retain.
targetSpace: Int!
The target number of bytes to keep when pruning.
entrySet(key: String = ""): EngineCacheEntrySet!
The current set of entries in the cache
key: String = ""