Interceptor [triggers.tekton.dev/v1alpha1]
- 描述
- Interceptor describes a pluggable interceptor including configuration such as the fields it accepts and its deployment address. The type is based on the Validating/MutatingWebhookConfiguration types for configuring AdmissionWebhooks
- 类型
object- 必填
spec
规格
.spec
- 描述
- InterceptorSpec describes the Spec for an Interceptor
- 类型
object- 必填
clientConfig
.spec.clientConfig
- 描述
- ClientConfig describes how a client can communicate with the Interceptor
- 类型
object
.spec.clientConfig.service
- 描述
- Service is a reference to a Service object where the interceptor is running Mutually exclusive with URL
- 类型
object- 必填
namenamespace
.status
- 描述
- InterceptorStatus holds the status of the Interceptor
- 类型
object
.status.address
- 描述
- Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.
- 类型
object
.status.addresses
- 描述
- Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.
- 类型
array
.status.addresses[]
- 描述
- Addressable provides a generic mechanism for a custom resource definition to indicate a destination for message delivery. Addressable is the schema for the destination information. This is typically stored in the object's `status`, as this information may be generated by the controller.
- 类型
object
.status.annotations
- 描述
- Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
- 类型
object
.status.conditions
- 描述
- Conditions the latest available observations of a resource's current state.
- 类型
array
.status.conditions[]
- 描述
- Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- 类型
object- 必填
statustype
API 端点
可用的 API 端点如下:
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptorsDELETE: delete collection of InterceptorGET: list objects of kind InterceptorPOST: create a new Interceptor
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors/{name}DELETE: delete the specified InterceptorGET: read the specified InterceptorPATCH: partially update the specified InterceptorPUT: replace the specified Interceptor
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors
- HTTP 方法
DELETE- 描述
- delete collection of Interceptor
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind Interceptor
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new Interceptor
- 查询参数
- 请求体参数
- HTTP 响应
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors/{name}
- HTTP 方法
DELETE- 描述
- delete the specified Interceptor
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified Interceptor
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified Interceptor
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified Interceptor
- 查询参数
- 请求体参数
- HTTP 响应