workflow.v1alpha1.dagTask
"DAGTask represents a node in the graph during DAG execution"
Index
fn withDependencies(dependencies)
fn withDependenciesMixin(dependencies)
fn withDepends(depends)
fn withHooks(hooks)
fn withHooksMixin(hooks)
fn withName(name)
fn withOnExit(onExit)
fn withTemplate(template)
fn withWhen(when)
fn withWithItems(withItems)
fn withWithItemsMixin(withItems)
fn withWithParam(withParam)
obj arguments
obj continueOn
obj templateRef
obj withSequence
Fields
fn withDependencies
withDependencies(dependencies)
"Dependencies are name of other targets which this depends on"
fn withDependenciesMixin
withDependenciesMixin(dependencies)
"Dependencies are name of other targets which this depends on"
Note: This function appends passed data to existing values
fn withDepends
withDepends(depends)
"Depends are name of other targets which this depends on"
fn withHooks
withHooks(hooks)
"Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task"
fn withHooksMixin
withHooksMixin(hooks)
"Hooks hold the lifecycle hook which is invoked at lifecycle of task, irrespective of the success, failure, or error status of the primary task"
Note: This function appends passed data to existing values
fn withName
withName(name)
"Name is the name of the target"
fn withOnExit
withOnExit(onExit)
"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."
fn withTemplate
withTemplate(template)
"Name of template to execute"
fn withWhen
withWhen(when)
"When is an expression in which the task should conditionally execute"
fn withWithItems
withWithItems(withItems)
"WithItems expands a task into multiple parallel tasks from the items in the list"
fn withWithItemsMixin
withWithItemsMixin(withItems)
"WithItems expands a task into multiple parallel tasks from the items in the list"
Note: This function appends passed data to existing values
fn withWithParam
withWithParam(withParam)
"WithParam expands a task into multiple parallel tasks from the value in the parameter, which is expected to be a JSON list."
obj arguments
"Arguments to a template"
fn arguments.withArtifacts
withArtifacts(artifacts)
"Artifacts is the list of artifacts to pass to the template or workflow"
fn arguments.withArtifactsMixin
withArtifactsMixin(artifacts)
"Artifacts is the list of artifacts to pass to the template or workflow"
Note: This function appends passed data to existing values
fn arguments.withParameters
withParameters(parameters)
"Parameters is the list of parameters to pass to the template or workflow"
fn arguments.withParametersMixin
withParametersMixin(parameters)
"Parameters is the list of parameters to pass to the template or workflow"
Note: This function appends passed data to existing values
obj continueOn
"ContinueOn defines if a workflow should continue even if a task or step fails/errors. It can be specified if the workflow should continue when the pod errors, fails or both."
fn continueOn.withError
withError(err)
fn continueOn.withFailed
withFailed(failed)
obj templateRef
"TemplateRef is a reference of template resource."
fn templateRef.withClusterScope
withClusterScope(clusterScope)
"ClusterScope indicates the referred template is cluster scoped (i.e. a ClusterWorkflowTemplate)."
fn templateRef.withName
withName(name)
"Name is the resource name of the template."
fn templateRef.withTemplate
withTemplate(template)
"Template is the name of referred template in the resource."
obj withSequence
"Sequence expands a workflow step into numeric range"
fn withSequence.withCount
withCount(count)
fn withSequence.withEnd
withEnd(end)
fn withSequence.withFormat
withFormat(format)
"Format is a printf format string to format the value in the sequence"
fn withSequence.withStart
withStart(start)