pub struct Status {
pub version: String,
pub shutting_down: bool,
pub budget: Budget,
pub profiles: Vec<ProfileStatus>,
pub repositories: Vec<RepositoryStatus>,
pub queued: Vec<QueuedJob>,
}Expand description
GET /v1/status: what the daemon serves and runs right now.
Fields§
§version: StringThe daemon’s version, from its Cargo.toml.
shutting_down: boolSet once the daemon stops polling to shut down.
budget: BudgetThe memory budget and what runners use of it.
profiles: Vec<ProfileStatus>Every configured profile with its slots.
repositories: Vec<RepositoryStatus>Every configured repository.
queued: Vec<QueuedJob>Queued jobs the repositories’ runners can take and none holds yet, at the last poll, oldest first. No event
carries the list: job.queued announces a job, job.started and job.finished its leaving the queue.
A repository whose last listing failed, as while GitHub rate-limits runnerd, or that is no longer polled
because runnerd is shutting down, shows no jobs here, while the history keeps its jobs queued.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
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 Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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.