pub struct ClusterStatusWorkers {
pub available_replicas: Option<i32>,
pub desired_replicas: Option<i32>,
pub ready_replicas: Option<i32>,
pub replicas: Option<i32>,
pub up_to_date_replicas: Option<i32>,
}Expand description
workers groups all the observations about Cluster’s Workers current state.
Fields§
§available_replicas: Option<i32>availableReplicas is the total number of available worker machines in this cluster. A machine is considered available when Machine’s Available condition is true.
desired_replicas: Option<i32>desiredReplicas is the total number of desired worker machines in this cluster.
ready_replicas: Option<i32>readyReplicas is the total number of ready worker machines in this cluster. A machine is considered ready when Machine’s Ready condition is true.
replicas: Option<i32>replicas is the total number of worker machines in this cluster. NOTE: replicas also includes machines still being provisioned or being deleted.
up_to_date_replicas: Option<i32>upToDateReplicas is the number of up-to-date worker machines in this cluster. A machine is considered up-to-date when Machine’s UpToDate condition is true.
Trait Implementations§
Source§impl Clone for ClusterStatusWorkers
impl Clone for ClusterStatusWorkers
Source§fn clone(&self) -> ClusterStatusWorkers
fn clone(&self) -> ClusterStatusWorkers
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ClusterStatusWorkers
impl Debug for ClusterStatusWorkers
Source§impl Default for ClusterStatusWorkers
impl Default for ClusterStatusWorkers
Source§fn default() -> ClusterStatusWorkers
fn default() -> ClusterStatusWorkers
Source§impl<'de> Deserialize<'de> for ClusterStatusWorkers
impl<'de> Deserialize<'de> for ClusterStatusWorkers
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>,
Source§impl JsonSchema for ClusterStatusWorkers
impl JsonSchema for ClusterStatusWorkers
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for ClusterStatusWorkers
impl PartialEq for ClusterStatusWorkers
Source§impl Serialize for ClusterStatusWorkers
impl Serialize for ClusterStatusWorkers
impl StructuralPartialEq for ClusterStatusWorkers
Auto Trait Implementations§
impl Freeze for ClusterStatusWorkers
impl RefUnwindSafe for ClusterStatusWorkers
impl Send for ClusterStatusWorkers
impl Sync for ClusterStatusWorkers
impl Unpin for ClusterStatusWorkers
impl UnwindSafe for ClusterStatusWorkers
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more