Skip to content

events.v1alpha1.gitArtifact

Index

Fields

fn withBranch

withBranch(branch)

fn withCloneDirectory

withCloneDirectory(cloneDirectory)

"Directory to clone the repository. We clone complete directory because GitArtifact is not limited to any specific Git service providers.\nHence we don't use any specific git provider client."

fn withFilePath

withFilePath(filePath)

fn withRef

withRef(ref)

fn withSshKeyPath

withSshKeyPath(sshKeyPath)

fn withTag

withTag(tag)

fn withUrl

withUrl(url)

obj creds

obj creds.password

"SecretKeySelector selects a key of a Secret."

fn creds.password.withKey

withKey(key)

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

fn creds.password.withName

withName(name)

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

fn creds.password.withOptional

withOptional(optional)

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

obj creds.username

"SecretKeySelector selects a key of a Secret."

fn creds.username.withKey

withKey(key)

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

fn creds.username.withName

withName(name)

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

fn creds.username.withOptional

withOptional(optional)

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

obj remote

fn remote.withName

withName(name)

"Name of the remote to fetch from."

fn remote.withUrls

withUrls(urls)

"URLs the URLs of a remote repository. It must be non-empty. Fetch will\nalways use the first URL, while push will use all of them."

fn remote.withUrlsMixin

withUrlsMixin(urls)

"URLs the URLs of a remote repository. It must be non-empty. Fetch will\nalways use the first URL, while push will use all of them."

Note: This function appends passed data to existing values

obj sshKeySecret

"SecretKeySelector selects a key of a Secret."

fn sshKeySecret.withKey

withKey(key)

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

fn sshKeySecret.withName

withName(name)

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

fn sshKeySecret.withOptional

withOptional(optional)

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