Skip to content

workflow.v1alpha1.submitOpts

"SubmitOpts are workflow submission options"

Index

Fields

fn withAnnotations

withAnnotations(annotations)

"Annotations adds to metadata.labels"

fn withDryRun

withDryRun(dryRun)

"DryRun validates the workflow on the client-side without creating it. This option is not supported in API"

fn withEntryPoint

withEntryPoint(entryPoint)

"Entrypoint overrides spec.entrypoint"

fn withGenerateName

withGenerateName(generateName)

"GenerateName overrides metadata.generateName"

fn withLabels

withLabels(labels)

"Labels adds to metadata.labels"

fn withName

withName(name)

"Name overrides metadata.name"

fn withParameters

withParameters(parameters)

"Parameters passes input parameters to workflow"

fn withParametersMixin

withParametersMixin(parameters)

"Parameters passes input parameters to workflow"

Note: This function appends passed data to existing values

fn withPodPriorityClassName

withPodPriorityClassName(podPriorityClassName)

"Set the podPriorityClassName of the workflow"

fn withPriority

withPriority(priority)

"Priority is used if controller is configured to process limited number of workflows in parallel, higher priority workflows are processed first."

fn withServerDryRun

withServerDryRun(serverDryRun)

"ServerDryRun validates the workflow on the server-side without creating it"

fn withServiceAccount

withServiceAccount(serviceAccount)

"ServiceAccount runs all pods in the workflow using specified ServiceAccount."

obj ownerReference

"OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field."

fn ownerReference.withApiVersion

withApiVersion(apiVersion)

"API version of the referent."

fn ownerReference.withBlockOwnerDeletion

withBlockOwnerDeletion(blockOwnerDeletion)

"If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned."

fn ownerReference.withController

withController(controller)

"If true, this reference points to the managing controller."

fn ownerReference.withKind

withKind(kind)

"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"

fn ownerReference.withName

withName(name)

"Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names"

fn ownerReference.withUid

withUid(uid)

"UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"