pub struct ClusterTopologyWorkersMachinePoolsTaints {
pub effect: ClusterTopologyWorkersMachinePoolsTaintsEffect,
pub key: String,
pub propagation: ClusterTopologyWorkersMachinePoolsTaintsPropagation,
pub value: Option<String>,
}Expand description
MachineTaint defines a taint equivalent to corev1.Taint, but additionally having a propagation field.
Fields§
§effect: ClusterTopologyWorkersMachinePoolsTaintsEffecteffect is the effect for the taint. Valid values are NoSchedule, PreferNoSchedule and NoExecute.
key: Stringkey is the taint key to be applied to a node.
Must be a valid qualified name of maximum size 63 characters
with an optional subdomain prefix of maximum size 253 characters,
separated by a /.
propagation: ClusterTopologyWorkersMachinePoolsTaintsPropagationpropagation defines how this taint should be propagated to nodes. Valid values are ‘Always’ and ‘OnInitialization’. Always: The taint will be continuously reconciled. If it is not set for a node, it will be added during reconciliation. OnInitialization: The taint will be added during node initialization. If it gets removed from the node later on it will not get added again.
value: Option<String>value is the taint value corresponding to the taint key. It must be a valid label value of maximum size 63 characters.
Trait Implementations§
Source§impl Clone for ClusterTopologyWorkersMachinePoolsTaints
impl Clone for ClusterTopologyWorkersMachinePoolsTaints
Source§fn clone(&self) -> ClusterTopologyWorkersMachinePoolsTaints
fn clone(&self) -> ClusterTopologyWorkersMachinePoolsTaints
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for ClusterTopologyWorkersMachinePoolsTaints
impl<'de> Deserialize<'de> for ClusterTopologyWorkersMachinePoolsTaints
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 ClusterTopologyWorkersMachinePoolsTaints
impl JsonSchema for ClusterTopologyWorkersMachinePoolsTaints
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 ClusterTopologyWorkersMachinePoolsTaints
impl PartialEq for ClusterTopologyWorkersMachinePoolsTaints
Source§fn eq(&self, other: &ClusterTopologyWorkersMachinePoolsTaints) -> bool
fn eq(&self, other: &ClusterTopologyWorkersMachinePoolsTaints) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterTopologyWorkersMachinePoolsTaints
Auto Trait Implementations§
impl Freeze for ClusterTopologyWorkersMachinePoolsTaints
impl RefUnwindSafe for ClusterTopologyWorkersMachinePoolsTaints
impl Send for ClusterTopologyWorkersMachinePoolsTaints
impl Sync for ClusterTopologyWorkersMachinePoolsTaints
impl Unpin for ClusterTopologyWorkersMachinePoolsTaints
impl UnsafeUnpin for ClusterTopologyWorkersMachinePoolsTaints
impl UnwindSafe for ClusterTopologyWorkersMachinePoolsTaints
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