pub struct Caches {
pub mirror: Mirror,
pub pnpm: CacheLimit,
pub maven: CacheLimit,
pub reseed_at: ByteSize,
pub snapshot_max: ByteSize,
pub build: BuildCache,
}Expand description
[caches]: what runners share and keep between jobs.
Fields§
§mirror: MirrorThe Docker Hub mirror.
pnpm: CacheLimitThe shared pnpm store.
maven: CacheLimitThe shared Maven repository.
reseed_at: ByteSizeWhen a profile has no job running and its slot 1 changed its layers by at least this much, slot 1’s layers become the profile’s new snapshot.
snapshot_max: ByteSizeA reseed that would make a profile’s snapshot larger than this starts it over from slot 1’s changes alone, or from the image when those are larger too.
build: BuildCacheThe build cache every runner shares.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Caches
impl<'de> Deserialize<'de> for Caches
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Caches
impl RefUnwindSafe for Caches
impl Send for Caches
impl Sync for Caches
impl Unpin for Caches
impl UnsafeUnpin for Caches
impl UnwindSafe for Caches
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more