pub struct IoArgoprojWorkflowV1alpha1RetryStrategy {
pub affinity: Option<IoArgoprojWorkflowV1alpha1RetryAffinity>,
pub backoff: Option<IoArgoprojWorkflowV1alpha1Backoff>,
pub expression: Option<String>,
pub limit: Option<IoK8sApimachineryPkgUtilIntstrIntOrString>,
pub retry_policy: Option<String>,
}Expand description
RetryStrategy provides controls on how to retry a workflow step
Fields§
§affinity: Option<IoArgoprojWorkflowV1alpha1RetryAffinity>Affinity prevents running workflow’s step on the same host
backoff: Option<IoArgoprojWorkflowV1alpha1Backoff>Backoff is a backoff strategy
expression: Option<String>Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not be retried and the retry strategy will be ignored
limit: Option<IoK8sApimachineryPkgUtilIntstrIntOrString>Limit is the maximum number of retry attempts when retrying a container. It does not include the original container; the maximum number of total attempts will be limit + 1.
retry_policy: Option<String>RetryPolicy is a policy of NodePhase statuses that will be retried
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1RetryStrategy
impl Clone for IoArgoprojWorkflowV1alpha1RetryStrategy
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1RetryStrategy
fn clone(&self) -> IoArgoprojWorkflowV1alpha1RetryStrategy
Returns a duplicate 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<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1RetryStrategy
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1RetryStrategy
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 From<&IoArgoprojWorkflowV1alpha1RetryStrategy> for IoArgoprojWorkflowV1alpha1RetryStrategy
impl From<&IoArgoprojWorkflowV1alpha1RetryStrategy> for IoArgoprojWorkflowV1alpha1RetryStrategy
Source§fn from(value: &IoArgoprojWorkflowV1alpha1RetryStrategy) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1RetryStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1RetryStrategy
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1RetryStrategy
impl Send for IoArgoprojWorkflowV1alpha1RetryStrategy
impl Sync for IoArgoprojWorkflowV1alpha1RetryStrategy
impl Unpin for IoArgoprojWorkflowV1alpha1RetryStrategy
impl UnwindSafe for IoArgoprojWorkflowV1alpha1RetryStrategy
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