pub struct DagTask {
pub name: String,
pub template: String,
pub dependencies: Vec<String>,
pub arguments: Option<Arguments>,
pub template_ref: Option<TemplateRef>,
pub continue_on: Option<ContinueOn>,
pub hooks: BTreeMap<String, LifecycleHook>,
pub with_param: String,
pub when: String,
}Fields§
§name: String§template: StringEmpty when template_ref is set.
dependencies: Vec<String>§arguments: Option<Arguments>§template_ref: Option<TemplateRef>§continue_on: Option<ContinueOn>§hooks: BTreeMap<String, LifecycleHook>Argo lifecycle hooks: arbitrary key -> hook. Key exit is the
special unconditional on-completion hook; others fire when
their expression holds.
with_param: StringFan-out: a JSON-array string; the task runs once per element
with {{item}} bound. Empty == no fan-out (skip-serialized).
when: StringConditional execution: an Argo expr (expr-lang). The task
runs only when it evaluates truthy; else it is Skipped. Empty
== unconditional (skip-serialized so existing goldens are
byte-identical).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DagTask
impl<'de> Deserialize<'de> for DagTask
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
impl StructuralPartialEq for DagTask
Auto Trait Implementations§
impl Freeze for DagTask
impl RefUnwindSafe for DagTask
impl Send for DagTask
impl Sync for DagTask
impl Unpin for DagTask
impl UnsafeUnpin for DagTask
impl UnwindSafe for DagTask
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