Struct k8s_openapi::api::batch::v1::PodFailurePolicy
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)