Skip to content

workflow.v1alpha1.gitArtifact

"GitArtifact is the location of an git artifact"

Index

Fields

fn withDepth

withDepth(depth)

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

fn withDisableSubmodules

withDisableSubmodules(disableSubmodules)

"DisableSubmodules disables submodules during git clone"

fn withFetch

withFetch(fetch)

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

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

withInsecureIgnoreHostKey(insecureIgnoreHostKey)

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

fn withRepo

withRepo(repo)

"Repo is the git repository"

fn withRevision

withRevision(revision)

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

obj passwordSecret

"SecretKeySelector selects a key of a Secret."

fn passwordSecret.withKey

withKey(key)

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

fn passwordSecret.withName

withName(name)

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

fn passwordSecret.withOptional

withOptional(optional)

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

obj sshPrivateKeySecret

"SecretKeySelector selects a key of a Secret."

fn sshPrivateKeySecret.withKey

withKey(key)

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

fn sshPrivateKeySecret.withName

withName(name)

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

fn sshPrivateKeySecret.withOptional

withOptional(optional)

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

obj usernameSecret

"SecretKeySelector selects a key of a Secret."

fn usernameSecret.withKey

withKey(key)

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

fn usernameSecret.withName

withName(name)

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

fn usernameSecret.withOptional

withOptional(optional)

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