pub struct ActionArchives {
pub entries: u64,
pub bytes: u64,
pub refreshed_at: Option<u64>,
pub failures: Vec<ArchiveFailure>,
pub unchecked: u64,
}Expand description
The action archives runnerd keeps, as its store last published them; in super::Status and
super::Caches.
Fields§
§entries: u64How many verified archives it holds.
bytes: u64Their bytes.
refreshed_at: Option<u64>When a refresh of every repository’s pins last ended, in seconds since the epoch; None before the first.
failures: Vec<ArchiveFailure>What failed and has not succeeded since, oldest first.
unchecked: u64Runners a restart adopted with the archives mounted, while no check of this daemon has found those good yet.
Implementations§
Source§impl ActionArchives
impl ActionArchives
Sourcepub fn line(&self, now: u64) -> String
pub fn line(&self, now: u64) -> String
What the store holds: 8 action archives, 12M, refreshed 3m ago, or no action archives yet.
Sourcepub fn attention_title(&self) -> Option<String>
pub fn attention_title(&self) -> Option<String>
What its failures mean together, in the attention list’s words: runnerd's action archives are not all kept, so jobs download those from GitHub: actions/checkout@08eba0b: … and 1 more, or, when a runner may have read an
archive a check then moved, a runner may have read an action archive that changed: runnerd-…: …. None
while nothing failed.
Sourcepub fn tone(&self) -> Tone
pub fn tone(&self) -> Tone
The tone its failures take: a warning, as jobs still download what is missing.
Sourcepub fn failing_since(&self) -> Option<u64>
pub fn failing_since(&self) -> Option<u64>
When its oldest failure began; None while nothing failed.
Trait Implementations§
Source§impl Clone for ActionArchives
impl Clone for ActionArchives
Source§impl Debug for ActionArchives
impl Debug for ActionArchives
Source§impl Default for ActionArchives
impl Default for ActionArchives
Source§impl<'de> Deserialize<'de> for ActionArchives
impl<'de> Deserialize<'de> for ActionArchives
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>,
impl Eq for ActionArchives
Source§impl PartialEq for ActionArchives
impl PartialEq for ActionArchives
Source§impl Serialize for ActionArchives
impl Serialize for ActionArchives
impl StructuralPartialEq for ActionArchives
Auto Trait Implementations§
impl Forget for ActionArchives
impl Freeze for ActionArchives
impl Move for ActionArchives
impl RefUnwindSafe for ActionArchives
impl Send for ActionArchives
impl Sync for ActionArchives
impl Unpin for ActionArchives
impl UnsafeUnpin for ActionArchives
impl UnwindSafe for ActionArchives
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
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
key and return true if they are equal.