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
Source§impl JsonSchema for Readiness
impl JsonSchema for Readiness
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl 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