pub struct MachineStatusDeletion {
pub node_drain_start_time: Option<String>,
pub wait_for_node_volume_detach_start_time: Option<String>,
}
Expand description
deletion contains information relating to removal of the Machine. Only present when the Machine has a deletionTimestamp and drain or wait for volume detach started.
Fields§
§node_drain_start_time: Option<String>
nodeDrainStartTime is the time when the drain of the node started and is used to determine if the NodeDrainTimeout is exceeded. Only present when the Machine has a deletionTimestamp and draining the node had been started.
wait_for_node_volume_detach_start_time: Option<String>
waitForNodeVolumeDetachStartTime is the time when waiting for volume detachment started
and is used to determine if the NodeVolumeDetachTimeout is exceeded.
Detaching volumes from nodes is usually done by CSI implementations and the current state
is observed from the node’s .Status.VolumesAttached
field.
Only present when the Machine has a deletionTimestamp and waiting for volume detachments had been started.
Trait Implementations§
Source§impl Clone for MachineStatusDeletion
impl Clone for MachineStatusDeletion
Source§fn clone(&self) -> MachineStatusDeletion
fn clone(&self) -> MachineStatusDeletion
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MachineStatusDeletion
impl Debug for MachineStatusDeletion
Source§impl Default for MachineStatusDeletion
impl Default for MachineStatusDeletion
Source§fn default() -> MachineStatusDeletion
fn default() -> MachineStatusDeletion
Source§impl<'de> Deserialize<'de> for MachineStatusDeletion
impl<'de> Deserialize<'de> for MachineStatusDeletion
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 MachineStatusDeletion
impl JsonSchema for MachineStatusDeletion
Source§fn schema_name() -> String
fn schema_name() -> String
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 is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for MachineStatusDeletion
impl PartialEq for MachineStatusDeletion
Source§impl Serialize for MachineStatusDeletion
impl Serialize for MachineStatusDeletion
impl StructuralPartialEq for MachineStatusDeletion
Auto Trait Implementations§
impl Freeze for MachineStatusDeletion
impl RefUnwindSafe for MachineStatusDeletion
impl Send for MachineStatusDeletion
impl Sync for MachineStatusDeletion
impl Unpin for MachineStatusDeletion
impl UnwindSafe for MachineStatusDeletion
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