pub struct PodFailurePolicy {
pub rules: Vec<PodFailurePolicyRule>,
}
Expand description
PodFailurePolicy describes how failed pods influence the backoffLimit.
Fields§
§rules: Vec<PodFailurePolicyRule>
A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.
Trait Implementations§
Source§impl Clone for PodFailurePolicy
impl Clone for PodFailurePolicy
Source§fn clone(&self) -> PodFailurePolicy
fn clone(&self) -> PodFailurePolicy
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PodFailurePolicy
impl Debug for PodFailurePolicy
Source§impl DeepMerge for PodFailurePolicy
impl DeepMerge for PodFailurePolicy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for PodFailurePolicy
impl Default for PodFailurePolicy
Source§fn default() -> PodFailurePolicy
fn default() -> PodFailurePolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodFailurePolicy
impl<'de> Deserialize<'de> for PodFailurePolicy
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
Source§impl PartialEq for PodFailurePolicy
impl PartialEq for PodFailurePolicy
Source§impl Serialize for PodFailurePolicy
impl Serialize for PodFailurePolicy
impl StructuralPartialEq for PodFailurePolicy
Auto Trait Implementations§
impl Freeze for PodFailurePolicy
impl RefUnwindSafe for PodFailurePolicy
impl Send for PodFailurePolicy
impl Sync for PodFailurePolicy
impl Unpin for PodFailurePolicy
impl UnwindSafe for PodFailurePolicy
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