Skip to content

workflow.v1alpha1.data

"Data is a data template"

Index

Fields

fn withTransformation

withTransformation(transformation)

"Transformation applies a set of transformations"

fn withTransformationMixin

withTransformationMixin(transformation)

"Transformation applies a set of transformations"

Note: This function appends passed data to existing values

obj source

"DataSource sources external data into a data template"

obj source.artifactPaths

"ArtifactPaths expands a step from a collection of artifacts"

fn source.artifactPaths.withArchiveLogs

withArchiveLogs(archiveLogs)

"ArchiveLogs indicates if the container logs should be archived"

fn source.artifactPaths.withFrom

withFrom(from)

"From allows an artifact to reference an artifact from a previous step"

fn source.artifactPaths.withFromExpression

withFromExpression(fromExpression)

"FromExpression, if defined, is evaluated to specify the value for the artifact"

fn source.artifactPaths.withGlobalName

withGlobalName(globalName)

"GlobalName exports an output artifact to the global scope, making it available as '{{io.argoproj.workflow.v1alpha1.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts"

fn source.artifactPaths.withMode

withMode(mode)

"mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts."

fn source.artifactPaths.withName

withName(name)

"name of the artifact. must be unique within a template's inputs/outputs."

fn source.artifactPaths.withOptional

withOptional(optional)

"Make Artifacts optional, if Artifacts doesn't generate or exist"

fn source.artifactPaths.withPath

withPath(path)

"Path is the container path to the artifact"

fn source.artifactPaths.withRecurseMode

withRecurseMode(recurseMode)

"If mode is set, apply the permission recursively into the artifact if it is a folder"

fn source.artifactPaths.withSubPath

withSubPath(subPath)

"SubPath allows an artifact to be sourced from a subpath within the specified source"

obj source.artifactPaths.archive

"ArchiveStrategy describes how to archive files/directory when saving artifacts"

fn source.artifactPaths.archive.withNone

withNone(none)

"NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately."

fn source.artifactPaths.archive.withNoneMixin

withNoneMixin(none)

"NoneStrategy indicates to skip tar process and upload the files or directory tree as independent files. Note that if the artifact is a directory, the artifact driver must support the ability to save/load the directory appropriately."

Note: This function appends passed data to existing values

fn source.artifactPaths.archive.withZip

withZip(zip)

"ZipStrategy will unzip zipped input artifacts"

fn source.artifactPaths.archive.withZipMixin

withZipMixin(zip)

"ZipStrategy will unzip zipped input artifacts"

Note: This function appends passed data to existing values

obj source.artifactPaths.archive.tar

"TarStrategy will tar and gzip the file or directory when saving"

fn source.artifactPaths.archive.tar.withCompressionLevel

withCompressionLevel(compressionLevel)

"CompressionLevel specifies the gzip compression level to use for the artifact. Defaults to gzip.DefaultCompression."

obj source.artifactPaths.artifactory

"ArtifactoryArtifact is the location of an artifactory artifact"

fn source.artifactPaths.artifactory.withUrl

withUrl(url)

"URL of the artifact"

obj source.artifactPaths.artifactory.passwordSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.artifactory.passwordSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.artifactory.passwordSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.artifactory.passwordSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.artifactory.usernameSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.artifactory.usernameSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.artifactory.usernameSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.artifactory.usernameSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.gcs

"GCSArtifact is the location of a GCS artifact"

fn source.artifactPaths.gcs.withBucket

withBucket(bucket)

"Bucket is the name of the bucket"

fn source.artifactPaths.gcs.withKey

withKey(key)

"Key is the path in the bucket where the artifact resides"

obj source.artifactPaths.gcs.serviceAccountKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.gcs.serviceAccountKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.gcs.serviceAccountKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.gcs.serviceAccountKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.git

"GitArtifact is the location of an git artifact"

fn source.artifactPaths.git.withDepth

withDepth(depth)

"Depth specifies clones/fetches should be shallow and include the given number of commits from the branch tip"

fn source.artifactPaths.git.withDisableSubmodules

withDisableSubmodules(disableSubmodules)

"DisableSubmodules disables submodules during git clone"

fn source.artifactPaths.git.withFetch

withFetch(fetch)

"Fetch specifies a number of refs that should be fetched before checkout"

fn source.artifactPaths.git.withFetchMixin

withFetchMixin(fetch)

"Fetch specifies a number of refs that should be fetched before checkout"

Note: This function appends passed data to existing values

fn source.artifactPaths.git.withInsecureIgnoreHostKey

withInsecureIgnoreHostKey(insecureIgnoreHostKey)

"InsecureIgnoreHostKey disables SSH strict host key checking during git clone"

fn source.artifactPaths.git.withRepo

withRepo(repo)

"Repo is the git repository"

fn source.artifactPaths.git.withRevision

withRevision(revision)

"Revision is the git commit, tag, branch to checkout"

obj source.artifactPaths.git.passwordSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.git.passwordSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.git.passwordSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.git.passwordSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.git.sshPrivateKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.git.sshPrivateKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.git.sshPrivateKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.git.sshPrivateKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.git.usernameSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.git.usernameSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.git.usernameSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.git.usernameSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.hdfs

"HDFSArtifact is the location of an HDFS artifact"

fn source.artifactPaths.hdfs.withAddresses

withAddresses(addresses)

"Addresses is accessible addresses of HDFS name nodes"

fn source.artifactPaths.hdfs.withAddressesMixin

withAddressesMixin(addresses)

"Addresses is accessible addresses of HDFS name nodes"

Note: This function appends passed data to existing values

fn source.artifactPaths.hdfs.withForce

withForce(force)

"Force copies a file forcibly even if it exists (default: false)"

fn source.artifactPaths.hdfs.withHdfsUser

withHdfsUser(hdfsUser)

"HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used."

fn source.artifactPaths.hdfs.withKrbRealm

withKrbRealm(krbRealm)

"KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used."

fn source.artifactPaths.hdfs.withKrbServicePrincipalName

withKrbServicePrincipalName(krbServicePrincipalName)

"KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used."

fn source.artifactPaths.hdfs.withKrbUsername

withKrbUsername(krbUsername)

"KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used."

fn source.artifactPaths.hdfs.withPath

withPath(path)

"Path is a file path in HDFS"

obj source.artifactPaths.hdfs.krbCCacheSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.hdfs.krbCCacheSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.hdfs.krbCCacheSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.hdfs.krbCCacheSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.hdfs.krbConfigConfigMap

"Selects a key from a ConfigMap."

fn source.artifactPaths.hdfs.krbConfigConfigMap.withKey

withKey(key)

"The key to select."

fn source.artifactPaths.hdfs.krbConfigConfigMap.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.hdfs.krbConfigConfigMap.withOptional

withOptional(optional)

"Specify whether the ConfigMap or its key must be defined"

obj source.artifactPaths.hdfs.krbKeytabSecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.hdfs.krbKeytabSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.hdfs.krbKeytabSecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.hdfs.krbKeytabSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.http

"HTTPArtifact allows an file served on HTTP to be placed as an input artifact in a container"

fn source.artifactPaths.http.withHeaders

withHeaders(headers)

"Headers are an optional list of headers to send with HTTP requests for artifacts"

fn source.artifactPaths.http.withHeadersMixin

withHeadersMixin(headers)

"Headers are an optional list of headers to send with HTTP requests for artifacts"

Note: This function appends passed data to existing values

fn source.artifactPaths.http.withUrl

withUrl(url)

"URL of the artifact"

obj source.artifactPaths.oss

"OSSArtifact is the location of an Alibaba Cloud OSS artifact"

fn source.artifactPaths.oss.withBucket

withBucket(bucket)

"Bucket is the name of the bucket"

fn source.artifactPaths.oss.withCreateBucketIfNotPresent

withCreateBucketIfNotPresent(createBucketIfNotPresent)

"CreateBucketIfNotPresent tells the driver to attempt to create the OSS bucket for output artifacts, if it doesn't exist"

fn source.artifactPaths.oss.withEndpoint

withEndpoint(endpoint)

"Endpoint is the hostname of the bucket endpoint"

fn source.artifactPaths.oss.withKey

withKey(key)

"Key is the path in the bucket where the artifact resides"

fn source.artifactPaths.oss.withSecurityToken

withSecurityToken(securityToken)

"SecurityToken is the user's temporary security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm"

obj source.artifactPaths.oss.accessKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.oss.accessKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.oss.accessKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.oss.accessKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.oss.lifecycleRule

"OSSLifecycleRule specifies how to manage bucket's lifecycle"

fn source.artifactPaths.oss.lifecycleRule.withMarkDeletionAfterDays

withMarkDeletionAfterDays(markDeletionAfterDays)

"MarkDeletionAfterDays is the number of days before we delete objects in the bucket"

fn source.artifactPaths.oss.lifecycleRule.withMarkInfrequentAccessAfterDays

withMarkInfrequentAccessAfterDays(markInfrequentAccessAfterDays)

"MarkInfrequentAccessAfterDays is the number of days before we convert the objects in the bucket to Infrequent Access (IA) storage type"

obj source.artifactPaths.oss.secretKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.oss.secretKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.oss.secretKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.oss.secretKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.raw

"RawArtifact allows raw string content to be placed as an artifact in a container"

fn source.artifactPaths.raw.withData

withData(data)

"Data is the string contents of the artifact"

obj source.artifactPaths.s3

"S3Artifact is the location of an S3 artifact"

fn source.artifactPaths.s3.withBucket

withBucket(bucket)

"Bucket is the name of the bucket"

fn source.artifactPaths.s3.withEndpoint

withEndpoint(endpoint)

"Endpoint is the hostname of the bucket endpoint"

fn source.artifactPaths.s3.withInsecure

withInsecure(insecure)

"Insecure will connect to the service with TLS"

fn source.artifactPaths.s3.withKey

withKey(key)

"Key is the key in the bucket where the artifact resides"

fn source.artifactPaths.s3.withRegion

withRegion(region)

"Region contains the optional bucket region"

fn source.artifactPaths.s3.withRoleARN

withRoleARN(roleARN)

"RoleARN is the Amazon Resource Name (ARN) of the role to assume."

fn source.artifactPaths.s3.withUseSDKCreds

withUseSDKCreds(useSDKCreds)

"UseSDKCreds tells the driver to figure out credentials based on sdk defaults."

obj source.artifactPaths.s3.accessKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.s3.accessKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.s3.accessKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.s3.accessKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.s3.createBucketIfNotPresent

"CreateS3BucketOptions options used to determine automatic automatic bucket-creation process"

fn source.artifactPaths.s3.createBucketIfNotPresent.withObjectLocking

withObjectLocking(objectLocking)

"ObjectLocking Enable object locking"

obj source.artifactPaths.s3.encryptionOptions

"S3EncryptionOptions used to determine encryption options during s3 operations"

fn source.artifactPaths.s3.encryptionOptions.withEnableEncryption

withEnableEncryption(enableEncryption)

"EnableEncryption tells the driver to encrypt objects if set to true. If kmsKeyId and serverSideCustomerKeySecret are not set, SSE-S3 will be used"

fn source.artifactPaths.s3.encryptionOptions.withKmsEncryptionContext

withKmsEncryptionContext(kmsEncryptionContext)

"KmsEncryptionContext is a json blob that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context for more information"

fn source.artifactPaths.s3.encryptionOptions.withKmsKeyId

withKmsKeyId(kmsKeyId)

"KMSKeyId tells the driver to encrypt the object using the specified KMS Key."

obj source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.s3.encryptionOptions.serverSideCustomerKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj source.artifactPaths.s3.secretKeySecret

"SecretKeySelector selects a key of a Secret."

fn source.artifactPaths.s3.secretKeySecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn source.artifactPaths.s3.secretKeySecret.withName

withName(name)

"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn source.artifactPaths.s3.secretKeySecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"