Skip to content

workflow.v1alpha1.ossArtifact

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

Index

Fields

fn withBucket

withBucket(bucket)

"Bucket is the name of the bucket"

fn withCreateBucketIfNotPresent

withCreateBucketIfNotPresent(createBucketIfNotPresent)

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

fn withEndpoint

withEndpoint(endpoint)

"Endpoint is the hostname of the bucket endpoint"

fn withKey

withKey(key)

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

fn 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 accessKeySecret

"SecretKeySelector selects a key of a Secret."

fn accessKeySecret.withKey

withKey(key)

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

fn accessKeySecret.withName

withName(name)

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

fn accessKeySecret.withOptional

withOptional(optional)

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

obj lifecycleRule

"OSSLifecycleRule specifies how to manage bucket's lifecycle"

fn lifecycleRule.withMarkDeletionAfterDays

withMarkDeletionAfterDays(markDeletionAfterDays)

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

fn 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 secretKeySecret

"SecretKeySelector selects a key of a Secret."

fn secretKeySecret.withKey

withKey(key)

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

fn secretKeySecret.withName

withName(name)

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

fn secretKeySecret.withOptional

withOptional(optional)

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