Interceptor [triggers.tekton.dev/v1alpha1]
- Description
- 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
- Type
object- Required
spec
Specification
.spec
- Description
- InterceptorSpec describes the Spec for an Interceptor
- Type
object- Required
clientConfig
.spec.clientConfig
- Description
- ClientConfig describes how a client can communicate with the Interceptor
- Type
object
.spec.clientConfig.service
- Description
- Service is a reference to a Service object where the interceptor is running Mutually exclusive with URL
- Type
object- Required
namenamespace
.status
- Description
- InterceptorStatus holds the status of the Interceptor
- Type
object
.status.address
- Description
- Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.
- Type
object
.status.addresses
- Description
- Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.
- Type
array
.status.addresses[]
- Description
- 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.
- Type
object
.status.annotations
- Description
- 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.
- Type
object
.status.conditions
- Description
- Conditions the latest available observations of a resource's current state.
- Type
array
.status.conditions[]
- Description
- 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
- Type
object- Required
statustype
API Endpoints
The following API endpoints are available:
/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/{name}/statusGET: read status of the specified InterceptorPATCH: partially update status of the specified InterceptorPUT: replace status of the specified Interceptor
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors
- HTTP method
DELETE- Description
- delete collection of Interceptor
- HTTP responses
- HTTP method
GET- Description
- list objects of kind Interceptor
- HTTP responses
- HTTP method
POST- Description
- create a new Interceptor
- Query parameters
- Body parameters
- HTTP responses
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors/{name}
- HTTP method
DELETE- Description
- delete the specified Interceptor
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified Interceptor
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified Interceptor
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified Interceptor
- Query parameters
- Body parameters
- HTTP responses
/apis/triggers.tekton.dev/v1alpha1/namespaces/{namespace}/interceptors/{name}/status
- HTTP method
GET- Description
- read status of the specified Interceptor
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified Interceptor
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified Interceptor
- Query parameters
- Body parameters
- HTTP responses