Trigger [triggers.tekton.dev/v1beta1]
- 描述
- Trigger defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.
- 类型
object
规格
.spec
- 描述
- Spec holds the desired state of the Trigger
- 类型
object- 必填
bindingstemplate
.spec.bindings
- 类型
array
.spec.bindings[]
- 类型
object
.spec.interceptors
- 类型
array
.spec.interceptors[]
- 描述
- TriggerInterceptor provides a hook to intercept and pre-process events
- 类型
object- 必填
ref
.spec.interceptors[].params
- 描述
- Params are the params to send to the interceptor
- 类型
array
.spec.interceptors[].params[]
- 描述
- InterceptorParams defines a key-value pair that can be passed on an interceptor
- 类型
object- 必填
namevalue
.spec.interceptors[].ref
- 描述
- Ref refers to the Interceptor to use
- 类型
object
.spec.interceptors[].webhook
- 描述
- WebhookInterceptor refers to an old style webhook interceptor service
- 类型
object
.spec.interceptors[].webhook.header
- 描述
- Header is a group of key-value pairs that can be appended to the interceptor request headers. This allows the interceptor to make decisions specific to an EventListenerTrigger.
- 类型
array
.spec.interceptors[].webhook.header[]
- 描述
- Param declares an ParamValues to use for the parameter called name.
- 类型
object- 必填
namevalue
.spec.interceptors[].webhook.objectRef
- 描述
- ObjectRef is a reference to an object that will resolve to a cluster DNS name to use as the EventInterceptor. Either objectRef or url can be specified
- 类型
object
.spec.template
- 类型
object
.spec.template.spec
- 描述
- TriggerTemplateSpec holds the desired state of TriggerTemplate
- 类型
object
.spec.template.spec.params
- 类型
array
.spec.template.spec.params[]
- 描述
- ParamSpec defines an arbitrary named input whose value can be supplied by a `Param`.
- 类型
object- 必填
name
.spec.template.spec.resourcetemplates
- 类型
array
.spec.template.spec.resourcetemplates[]
- 描述
- TriggerResourceTemplate describes a resource to create
- 类型
object
API 端点
可用的 API 端点如下:
/apis/triggers.tekton.dev/v1beta1/namespaces/{namespace}/triggersDELETE: delete collection of TriggerGET: list objects of kind TriggerPOST: create a new Trigger
/apis/triggers.tekton.dev/v1beta1/namespaces/{namespace}/triggers/{name}DELETE: delete the specified TriggerGET: read the specified TriggerPATCH: partially update the specified TriggerPUT: replace the specified Trigger
/apis/triggers.tekton.dev/v1beta1/namespaces/{namespace}/triggers
- HTTP 方法
DELETE- 描述
- delete collection of Trigger
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind Trigger
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new Trigger
- 查询参数
- 请求体参数
- HTTP 响应
/apis/triggers.tekton.dev/v1beta1/namespaces/{namespace}/triggers/{name}
- HTTP 方法
DELETE- 描述
- delete the specified Trigger
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified Trigger
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified Trigger
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified Trigger
- 查询参数
- 请求体参数
- HTTP 响应