Skip to content

workflow.v1alpha1.workflowSubmitRequest

Index

Fields

fn withNamespace

withNamespace(namespace)

fn withResourceKind

withResourceKind(resourceKind)

fn withResourceName

withResourceName(resourceName)

obj submitOptions

"SubmitOpts are workflow submission options"

fn submitOptions.withAnnotations

withAnnotations(annotations)

"Annotations adds to metadata.labels"

fn submitOptions.withDryRun

withDryRun(dryRun)

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

fn submitOptions.withEntryPoint

withEntryPoint(entryPoint)

"Entrypoint overrides spec.entrypoint"

fn submitOptions.withGenerateName

withGenerateName(generateName)

"GenerateName overrides metadata.generateName"

fn submitOptions.withLabels

withLabels(labels)

"Labels adds to metadata.labels"

fn submitOptions.withName

withName(name)

"Name overrides metadata.name"

fn submitOptions.withParameterFile

withParameterFile(parameterFile)

"ParameterFile holds a reference to a parameter file. This option is not supported in API"

fn submitOptions.withParameters

withParameters(parameters)

"Parameters passes input parameters to workflow"

fn submitOptions.withParametersMixin

withParametersMixin(parameters)

"Parameters passes input parameters to workflow"

Note: This function appends passed data to existing values

fn submitOptions.withServerDryRun

withServerDryRun(serverDryRun)

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

fn submitOptions.withServiceAccount

withServiceAccount(serviceAccount)

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

obj submitOptions.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 submitOptions.ownerReference.withApiVersion

withApiVersion(apiVersion)

"API version of the referent."

fn submitOptions.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 submitOptions.ownerReference.withController

withController(controller)

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

fn submitOptions.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 submitOptions.ownerReference.withName

withName(name)

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

fn submitOptions.ownerReference.withUid

withUid(uid)

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