Skip to content

workflow.v1alpha1.lifecycleHook

Index

Fields

fn withExpression

withExpression(expression)

"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"

fn withTemplate

withTemplate(template)

"Template is the name of the template to execute by the hook"

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 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."