build.v1.buildTriggerPolicy
"BuildTriggerPolicy describes a policy for a single trigger that results in a new Build."
Index
Fields
fn withType
withType(type)
"type is the type of build trigger"
obj bitbucket
"WebHookTrigger is a trigger that gets invoked using a webhook type of post"
fn bitbucket.withAllowEnv
withAllowEnv(allowEnv)
"allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook."
fn bitbucket.withSecret
withSecret(secret)
"secret used to validate requests. Deprecated: use SecretReference instead."
obj bitbucket.secretReference
"SecretLocalReference contains information that points to the local secret being used"
fn bitbucket.secretReference.withName
withName(name)
"Name is the name of the resource in the same namespace being referenced"
obj generic
"WebHookTrigger is a trigger that gets invoked using a webhook type of post"
fn generic.withAllowEnv
withAllowEnv(allowEnv)
"allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook."
fn generic.withSecret
withSecret(secret)
"secret used to validate requests. Deprecated: use SecretReference instead."
obj generic.secretReference
"SecretLocalReference contains information that points to the local secret being used"
fn generic.secretReference.withName
withName(name)
"Name is the name of the resource in the same namespace being referenced"
obj github
"WebHookTrigger is a trigger that gets invoked using a webhook type of post"
fn github.withAllowEnv
withAllowEnv(allowEnv)
"allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook."
fn github.withSecret
withSecret(secret)
"secret used to validate requests. Deprecated: use SecretReference instead."
obj github.secretReference
"SecretLocalReference contains information that points to the local secret being used"
fn github.secretReference.withName
withName(name)
"Name is the name of the resource in the same namespace being referenced"
obj gitlab
"WebHookTrigger is a trigger that gets invoked using a webhook type of post"
fn gitlab.withAllowEnv
withAllowEnv(allowEnv)
"allowEnv determines whether the webhook can set environment variables; can only be set to true for GenericWebHook."
fn gitlab.withSecret
withSecret(secret)
"secret used to validate requests. Deprecated: use SecretReference instead."
obj gitlab.secretReference
"SecretLocalReference contains information that points to the local secret being used"
fn gitlab.secretReference.withName
withName(name)
"Name is the name of the resource in the same namespace being referenced"
obj imageChange
"ImageChangeTrigger allows builds to be triggered when an ImageStream changes"
fn imageChange.withLastTriggeredImageID
withLastTriggeredImageID(lastTriggeredImageID)
"lastTriggeredImageID is used internally by the ImageChangeController to save last used image ID for build"
fn imageChange.withPaused
withPaused(paused)
"paused is true if this trigger is temporarily disabled. Optional."
obj imageChange.from
"ObjectReference contains enough information to let you inspect or modify the referred object."
fn imageChange.from.withApiVersion
withApiVersion(apiVersion)
"API version of the referent."
fn imageChange.from.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 imageChange.from.withKind
withKind(kind)
"Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"
fn imageChange.from.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn imageChange.from.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
fn imageChange.from.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 imageChange.from.withUid
withUid(uid)
"UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids"