pub struct Readiness {
pub ready: bool,
pub store_writable: bool,
pub workspaces_total: usize,
pub workspaces_healthy: usize,
pub workspaces_unreachable: usize,
}Expand description
Aggregate readiness of prosperod, distinct from mere liveness.
ready gates traffic/restarts: it is true only when the durable store can
accept writes. The workspace-health counts are an informational summary
(per-workspace reachability is already surfaced in /api/workspaces and /api/fleet).
Fields§
§ready: boolOverall ready signal — currently equivalent to store_writable.
store_writable: boolWhether the durable event store can accept writes.
workspaces_total: usizeTotal managed workspaces.
workspaces_healthy: usizeWorkspaces whose caliband responded to the last poll.
workspaces_unreachable: usizeWorkspaces whose caliband was unreachable at the last poll.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Readiness
impl<'de> Deserialize<'de> for Readiness
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 Readiness
impl StructuralPartialEq for Readiness
Auto Trait Implementations§
impl Freeze for Readiness
impl RefUnwindSafe for Readiness
impl Send for Readiness
impl Sync for Readiness
impl Unpin for Readiness
impl UnsafeUnpin for Readiness
impl UnwindSafe for Readiness
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