IoArgoprojWorkflowV1alpha1DagTask

Struct IoArgoprojWorkflowV1alpha1DagTask 

Source
pub struct IoArgoprojWorkflowV1alpha1DagTask {
Show 14 fields pub arguments: Option<IoArgoprojWorkflowV1alpha1Arguments>, pub continue_on: Option<IoArgoprojWorkflowV1alpha1ContinueOn>, pub dependencies: Vec<String>, pub depends: Option<String>, pub hooks: HashMap<String, IoArgoprojWorkflowV1alpha1LifecycleHook>, pub inline: Option<IoArgoprojWorkflowV1alpha1Template>, pub name: String, pub on_exit: Option<String>, pub template: Option<String>, pub template_ref: Option<IoArgoprojWorkflowV1alpha1TemplateRef>, pub when: Option<String>, pub with_items: Vec<IoArgoprojWorkflowV1alpha1Item>, pub with_param: Option<String>, pub with_sequence: Option<IoArgoprojWorkflowV1alpha1Sequence>,
}
Expand description

DAGTask represents a node in the graph during DAG execution

Fields§

§arguments: Option<IoArgoprojWorkflowV1alpha1Arguments>

Arguments are the parameter and artifact arguments to the template

§continue_on: Option<IoArgoprojWorkflowV1alpha1ContinueOn>

ContinueOn makes argo to proceed with the following step even if this step fails. Errors and Failed states can be specified

§dependencies: Vec<String>

Dependencies are name of other targets which this depends on

§depends: Option<String>

Depends are name of other targets which this depends on

§hooks: HashMap<String, IoArgoprojWorkflowV1alpha1LifecycleHook>

Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task

§inline: Option<IoArgoprojWorkflowV1alpha1Template>

Inline is the template. Template must be empty if this is declared (and vice-versa).

§name: String

Name is the name of the target

§on_exit: Option<String>

OnExit is a template reference which is invoked at the end of the template, irrespective of the success, failure, or error of the primary template. DEPRECATED: Use Hooks[exit].Template instead.

§template: Option<String>

Name of template to execute

§template_ref: Option<IoArgoprojWorkflowV1alpha1TemplateRef>

TemplateRef is the reference to the template resource to execute.

§when: Option<String>

When is an expression in which the task should conditionally execute

§with_items: Vec<IoArgoprojWorkflowV1alpha1Item>

WithItems expands a task into multiple parallel tasks from the items in the list

§with_param: Option<String>

WithParam expands a task into multiple parallel tasks from the value in the parameter, which is expected to be a JSON list.

§with_sequence: Option<IoArgoprojWorkflowV1alpha1Sequence>

WithSequence expands a task into a numeric sequence

Trait Implementations§

Source§

impl Clone for IoArgoprojWorkflowV1alpha1DagTask

Source§

fn clone(&self) -> IoArgoprojWorkflowV1alpha1DagTask

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for IoArgoprojWorkflowV1alpha1DagTask

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IoArgoprojWorkflowV1alpha1DagTask

Source§

fn default() -> IoArgoprojWorkflowV1alpha1DagTask

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1DagTask

Source§

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<&IoArgoprojWorkflowV1alpha1DagTask> for IoArgoprojWorkflowV1alpha1DagTask

Source§

fn from(value: &IoArgoprojWorkflowV1alpha1DagTask) -> Self

Converts to this type from the input type.
Source§

impl Serialize for IoArgoprojWorkflowV1alpha1DagTask

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,