Skip to content

build.v1.buildTriggerCause

"BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration."

Index

Fields

fn withMessage

withMessage(message)

"message is used to store a human readable message for why the build was triggered. E.g.: \"Manually triggered by user\", \"Configuration change\",etc."

obj bitbucketWebHook

"BitbucketWebHookCause has information about a Bitbucket webhook that triggered a build."

fn bitbucketWebHook.withSecret

withSecret(secret)

"Secret is the obfuscated webhook secret that triggered a build."

obj bitbucketWebHook.revision

"SourceRevision is the revision or commit information from the source for the build"

fn bitbucketWebHook.revision.withType

withType(type)

"type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'"

obj bitbucketWebHook.revision.git

"GitSourceRevision is the commit information from a git source for a build"

fn bitbucketWebHook.revision.git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn bitbucketWebHook.revision.git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj bitbucketWebHook.revision.git.author

"SourceControlUser defines the identity of a user of source control"

fn bitbucketWebHook.revision.git.author.withEmail

withEmail(email)

"email of the source control user"

fn bitbucketWebHook.revision.git.author.withName

withName(name)

"name of the source control user"

obj bitbucketWebHook.revision.git.committer

"SourceControlUser defines the identity of a user of source control"

fn bitbucketWebHook.revision.git.committer.withEmail

withEmail(email)

"email of the source control user"

fn bitbucketWebHook.revision.git.committer.withName

withName(name)

"name of the source control user"

obj genericWebHook

"GenericWebHookCause holds information about a generic WebHook that triggered a build."

fn genericWebHook.withSecret

withSecret(secret)

"secret is the obfuscated webhook secret that triggered a build."

obj genericWebHook.revision

"SourceRevision is the revision or commit information from the source for the build"

fn genericWebHook.revision.withType

withType(type)

"type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'"

obj genericWebHook.revision.git

"GitSourceRevision is the commit information from a git source for a build"

fn genericWebHook.revision.git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn genericWebHook.revision.git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj genericWebHook.revision.git.author

"SourceControlUser defines the identity of a user of source control"

fn genericWebHook.revision.git.author.withEmail

withEmail(email)

"email of the source control user"

fn genericWebHook.revision.git.author.withName

withName(name)

"name of the source control user"

obj genericWebHook.revision.git.committer

"SourceControlUser defines the identity of a user of source control"

fn genericWebHook.revision.git.committer.withEmail

withEmail(email)

"email of the source control user"

fn genericWebHook.revision.git.committer.withName

withName(name)

"name of the source control user"

obj githubWebHook

"GitHubWebHookCause has information about a GitHub webhook that triggered a build."

fn githubWebHook.withSecret

withSecret(secret)

"secret is the obfuscated webhook secret that triggered a build."

obj githubWebHook.revision

"SourceRevision is the revision or commit information from the source for the build"

fn githubWebHook.revision.withType

withType(type)

"type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'"

obj githubWebHook.revision.git

"GitSourceRevision is the commit information from a git source for a build"

fn githubWebHook.revision.git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn githubWebHook.revision.git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj githubWebHook.revision.git.author

"SourceControlUser defines the identity of a user of source control"

fn githubWebHook.revision.git.author.withEmail

withEmail(email)

"email of the source control user"

fn githubWebHook.revision.git.author.withName

withName(name)

"name of the source control user"

obj githubWebHook.revision.git.committer

"SourceControlUser defines the identity of a user of source control"

fn githubWebHook.revision.git.committer.withEmail

withEmail(email)

"email of the source control user"

fn githubWebHook.revision.git.committer.withName

withName(name)

"name of the source control user"

obj gitlabWebHook

"GitLabWebHookCause has information about a GitLab webhook that triggered a build."

fn gitlabWebHook.withSecret

withSecret(secret)

"Secret is the obfuscated webhook secret that triggered a build."

obj gitlabWebHook.revision

"SourceRevision is the revision or commit information from the source for the build"

fn gitlabWebHook.revision.withType

withType(type)

"type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'"

obj gitlabWebHook.revision.git

"GitSourceRevision is the commit information from a git source for a build"

fn gitlabWebHook.revision.git.withCommit

withCommit(commit)

"commit is the commit hash identifying a specific commit"

fn gitlabWebHook.revision.git.withMessage

withMessage(message)

"message is the description of a specific commit"

obj gitlabWebHook.revision.git.author

"SourceControlUser defines the identity of a user of source control"

fn gitlabWebHook.revision.git.author.withEmail

withEmail(email)

"email of the source control user"

fn gitlabWebHook.revision.git.author.withName

withName(name)

"name of the source control user"

obj gitlabWebHook.revision.git.committer

"SourceControlUser defines the identity of a user of source control"

fn gitlabWebHook.revision.git.committer.withEmail

withEmail(email)

"email of the source control user"

fn gitlabWebHook.revision.git.committer.withName

withName(name)

"name of the source control user"

obj imageChangeBuild

"ImageChangeCause contains information about the image that triggered a build"

fn imageChangeBuild.withImageID

withImageID(imageID)

"imageID is the ID of the image that triggered a a new build."

obj imageChangeBuild.fromRef

"ObjectReference contains enough information to let you inspect or modify the referred object."

fn imageChangeBuild.fromRef.withApiVersion

withApiVersion(apiVersion)

"API version of the referent."

fn imageChangeBuild.fromRef.withFieldPath

withFieldPath(fieldPath)

"If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object."

fn imageChangeBuild.fromRef.withKind

withKind(kind)

"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"

fn imageChangeBuild.fromRef.withName

withName(name)

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

fn imageChangeBuild.fromRef.withNamespace

withNamespace(namespace)

"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"

fn imageChangeBuild.fromRef.withResourceVersion

withResourceVersion(resourceVersion)

"Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency"

fn imageChangeBuild.fromRef.withUid

withUid(uid)

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