pub struct Caches {
pub measured_at: Option<u64>,
pub volumes: Vec<CacheVolume>,
pub build: Option<BuildCacheStats>,
pub actions: Option<ActionArchives>,
}Expand description
GET /v1/caches: every cache volume of the configured profiles, as last measured. Docker measures volumes
slowly, so runnerd measures them at start and whenever no runner runs after jobs ended.
Fields§
§measured_at: Option<u64>When the sizes were measured; None before the first measurement.
volumes: Vec<CacheVolume>By name.
build: Option<BuildCacheStats>The shared build cache now, when it is on.
actions: Option<ActionArchives>The action archives runnerd keeps for its runners, when [caches.actions] is on (ADR 0147); absent from an
older daemon.
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
impl Eq for Caches
impl StructuralPartialEq for Caches
Auto Trait Implementations§
impl Forget for Caches
impl Freeze for Caches
impl Move 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.