Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the triggers v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tektoncd/triggers/pkg/apis/triggers +k8s:defaulter-gen=TypeMeta +groupName=tekton.dev
Index ¶
- Constants
- Variables
- func IsUpgradeViaDefaulting(ctx context.Context) bool
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- func WithUpgradeViaDefaulting(ctx context.Context) context.Context
- type CELInterceptor
- type EventInterceptor
- type EventListener
- func (in *EventListener) DeepCopy() *EventListener
- func (in *EventListener) DeepCopyInto(out *EventListener)
- func (in *EventListener) DeepCopyObject() runtime.Object
- func (el *EventListener) GetOwnerReference() *metav1.OwnerReference
- func (el *EventListener) SetDefaults(ctx context.Context)
- func (e *EventListener) Validate(ctx context.Context) *apis.FieldError
- type EventListenerBinding
- type EventListenerConfig
- type EventListenerList
- type EventListenerSpec
- type EventListenerStatus
- func (in *EventListenerStatus) DeepCopy() *EventListenerStatus
- func (in *EventListenerStatus) DeepCopyInto(out *EventListenerStatus)
- func (els *EventListenerStatus) GetCondition(t apis.ConditionType) *apis.Condition
- func (els *EventListenerStatus) InitializeConditions()
- func (els *EventListenerStatus) SetAddress(hostname string)
- func (els *EventListenerStatus) SetCondition(newCond *apis.Condition)
- func (els *EventListenerStatus) SetDeploymentConditions(deploymentConditions []appsv1.DeploymentCondition)
- func (els *EventListenerStatus) SetExistsCondition(cond apis.ConditionType, err error)
- type EventListenerTemplate
- type EventListenerTrigger
- type GitHubInterceptor
- type GitLabInterceptor
- type SecretRef
- type TriggerBinding
- func (in *TriggerBinding) DeepCopy() *TriggerBinding
- func (in *TriggerBinding) DeepCopyInto(out *TriggerBinding)
- func (in *TriggerBinding) DeepCopyObject() runtime.Object
- func (tb *TriggerBinding) SetDefaults(ctx context.Context)
- func (t *TriggerBinding) Validate(ctx context.Context) *apis.FieldError
- type TriggerBindingList
- type TriggerBindingSpec
- type TriggerBindingStatus
- type TriggerResourceTemplate
- type TriggerTemplate
- func (in *TriggerTemplate) DeepCopy() *TriggerTemplate
- func (in *TriggerTemplate) DeepCopyInto(out *TriggerTemplate)
- func (in *TriggerTemplate) DeepCopyObject() runtime.Object
- func (tt *TriggerTemplate) SetDefaults(ctx context.Context)
- func (t *TriggerTemplate) Validate(ctx context.Context) *apis.FieldError
- type TriggerTemplateList
- type TriggerTemplateSpec
- type TriggerTemplateStatus
- type WebhookInterceptor
Constants ¶
const ( // ServiceExists is the ConditionType set on the EventListener, which // specifies Service existence. ServiceExists apis.ConditionType = "Service" // DeploymentExists is the ConditionType set on the EventListener, which // specifies Deployment existence. DeploymentExists apis.ConditionType = "Deployment" )
The conditions that are internally resolved by the EventListener reconciler
const ( // GroupName is the Kubernetes resource group name for Tekton types. GroupName = "tekton.dev" // EventListenerLabelKey is used as the label identifier for an EventListener. EventListenerLabelKey = "/eventlistener" // EventIDLabelKey is used as the label identifier for an EventListener event. EventIDLabelKey = "/triggers-eventid" // TriggerLabelKey is used as the label identifier for a Trigger TriggerLabelKey = "/trigger" )
Variables ¶
var (
// AddToScheme adds Build types to the scheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func IsUpgradeViaDefaulting ¶ added in v0.2.0
IsUpgradeViaDefaulting checks if the upgradeViaDefaultingKey is set on the context.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type CELInterceptor ¶ added in v0.2.0
type CELInterceptor struct {
Filter string `json:"filter,omitempty"`
}
CELInterceptor provides a webhook to intercept and pre-process events
func (*CELInterceptor) DeepCopy ¶ added in v0.2.0
func (in *CELInterceptor) DeepCopy() *CELInterceptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CELInterceptor.
func (*CELInterceptor) DeepCopyInto ¶ added in v0.2.0
func (in *CELInterceptor) DeepCopyInto(out *CELInterceptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventInterceptor ¶
type EventInterceptor struct {
Webhook *WebhookInterceptor `json:"webhook,omitempty"`
GitHub *GitHubInterceptor `json:"github,omitempty"`
GitLab *GitLabInterceptor `json:"gitlab,omitempty"`
CEL *CELInterceptor `json:"cel,omitempty"`
}
EventInterceptor provides a hook to intercept and pre-process events
func (*EventInterceptor) DeepCopy ¶
func (in *EventInterceptor) DeepCopy() *EventInterceptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventInterceptor.
func (*EventInterceptor) DeepCopyInto ¶
func (in *EventInterceptor) DeepCopyInto(out *EventInterceptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventListener ¶
type EventListener struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec holds the desired state of the EventListener from the client
// +optional
Spec EventListenerSpec `json:"spec"`
// +optional
Status EventListenerStatus `json:"status"`
}
EventListener exposes a service to accept HTTP event payloads.
+k8s:openapi-gen=true
func (*EventListener) DeepCopy ¶
func (in *EventListener) DeepCopy() *EventListener
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListener.
func (*EventListener) DeepCopyInto ¶
func (in *EventListener) DeepCopyInto(out *EventListener)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventListener) DeepCopyObject ¶
func (in *EventListener) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EventListener) GetOwnerReference ¶
func (el *EventListener) GetOwnerReference() *metav1.OwnerReference
GetOwnerReference gets the EventListener as owner reference for any related objects.
func (*EventListener) SetDefaults ¶
func (el *EventListener) SetDefaults(ctx context.Context)
SetDefaults sets the defaults on the object.
func (*EventListener) Validate ¶
func (e *EventListener) Validate(ctx context.Context) *apis.FieldError
Validate EventListener.
type EventListenerBinding ¶
type EventListenerBinding struct {
Name string `json:"name"`
APIVersion string `json:"apiversion,omitempty"`
}
EventListenerBinding refers to a particular TriggerBinding resource.
func (*EventListenerBinding) DeepCopy ¶
func (in *EventListenerBinding) DeepCopy() *EventListenerBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerBinding.
func (*EventListenerBinding) DeepCopyInto ¶
func (in *EventListenerBinding) DeepCopyInto(out *EventListenerBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventListenerConfig ¶
type EventListenerConfig struct {
// GeneratedResourceName is the name given to all resources reconciled by
// the EventListener
GeneratedResourceName string `json:"generatedName"`
}
EventListenerConfig stores configuration for resources generated by the EventListener
func (*EventListenerConfig) DeepCopy ¶
func (in *EventListenerConfig) DeepCopy() *EventListenerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerConfig.
func (*EventListenerConfig) DeepCopyInto ¶
func (in *EventListenerConfig) DeepCopyInto(out *EventListenerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventListenerList ¶
type EventListenerList struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
Items []EventListener `json:"items"`
}
EventListenerList contains a list of TriggerBinding
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*EventListenerList) DeepCopy ¶
func (in *EventListenerList) DeepCopy() *EventListenerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerList.
func (*EventListenerList) DeepCopyInto ¶
func (in *EventListenerList) DeepCopyInto(out *EventListenerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventListenerList) DeepCopyObject ¶
func (in *EventListenerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventListenerSpec ¶
type EventListenerSpec struct {
ServiceAccountName string `json:"serviceAccountName"`
Triggers []EventListenerTrigger `json:"triggers"`
ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
}
EventListenerSpec defines the desired state of the EventListener, represented by a list of Triggers.
func (*EventListenerSpec) DeepCopy ¶
func (in *EventListenerSpec) DeepCopy() *EventListenerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerSpec.
func (*EventListenerSpec) DeepCopyInto ¶
func (in *EventListenerSpec) DeepCopyInto(out *EventListenerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventListenerStatus ¶
type EventListenerStatus struct {
duckv1beta1.Status `json:",inline"`
// EventListener is Addressable. It currently exposes the service DNS
// address of the the EventListener sink
duckv1alpha1.AddressStatus `json:",inline"`
// Configuration stores configuration for the EventListener service
Configuration EventListenerConfig `json:"configuration"`
}
EventListenerStatus holds the status of the EventListener +k8s:deepcopy-gen=true
func (*EventListenerStatus) DeepCopy ¶
func (in *EventListenerStatus) DeepCopy() *EventListenerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerStatus.
func (*EventListenerStatus) DeepCopyInto ¶
func (in *EventListenerStatus) DeepCopyInto(out *EventListenerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventListenerStatus) GetCondition ¶
func (els *EventListenerStatus) GetCondition(t apis.ConditionType) *apis.Condition
GetCondition returns the Condition matching the given type.
func (*EventListenerStatus) InitializeConditions ¶
func (els *EventListenerStatus) InitializeConditions()
InitializeConditions will set all conditions in eventListenerCondSet to false for the EventListener. This does not use the InitializeCondition() provided by the conditionsImpl to avoid setting the happy condition. This is a local change and needs to be persisted to the K8s API elsewhere.
func (*EventListenerStatus) SetAddress ¶
func (els *EventListenerStatus) SetAddress(hostname string)
SetAddress sets the address (as part of Addressable contract) and marks the correct condition.
func (*EventListenerStatus) SetCondition ¶
func (els *EventListenerStatus) SetCondition(newCond *apis.Condition)
SetCondition sets the condition, unsetting previous conditions with the same type as necessary. This is a local change and needs to be persisted to the K8s API elsewhere.
func (*EventListenerStatus) SetDeploymentConditions ¶
func (els *EventListenerStatus) SetDeploymentConditions(deploymentConditions []appsv1.DeploymentCondition)
SetDeploymentConditions sets the Deployment conditions on the EventListener, which is a reflection of the actual Deployment status.
func (*EventListenerStatus) SetExistsCondition ¶
func (els *EventListenerStatus) SetExistsCondition(cond apis.ConditionType, err error)
SetExistsCondition simplifies setting the exists conditions on the EventListenerStatus.
type EventListenerTemplate ¶
type EventListenerTemplate struct {
Name string `json:"name"`
APIVersion string `json:"apiversion,omitempty"`
}
EventListenerTemplate refers to a particular TriggerTemplate resource.
func (*EventListenerTemplate) DeepCopy ¶
func (in *EventListenerTemplate) DeepCopy() *EventListenerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerTemplate.
func (*EventListenerTemplate) DeepCopyInto ¶
func (in *EventListenerTemplate) DeepCopyInto(out *EventListenerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventListenerTrigger ¶
type EventListenerTrigger struct {
Bindings []*EventListenerBinding `json:"bindings"`
Template EventListenerTemplate `json:"template"`
// +optional
Name string `json:"name,omitempty"`
// +optional
// DEPRECATED. Use Interceptors instead.
// TODO(#290): Remove this before 0.3 release.
DeprecatedInterceptor *EventInterceptor `json:"interceptor,omitempty"`
Interceptors []*EventInterceptor `json:"interceptors,omitempty"`
// TODO(#248): Remove this before 0.3 release.
DeprecatedBinding *EventListenerBinding `json:"binding,omitempty"`
}
EventListenerTrigger represents a connection between TriggerBinding, Params, and TriggerTemplate; TriggerBinding provides extracted values for TriggerTemplate to then create resources from.
func (*EventListenerTrigger) DeepCopy ¶
func (in *EventListenerTrigger) DeepCopy() *EventListenerTrigger
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventListenerTrigger.
func (*EventListenerTrigger) DeepCopyInto ¶
func (in *EventListenerTrigger) DeepCopyInto(out *EventListenerTrigger)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitHubInterceptor ¶ added in v0.2.0
type GitHubInterceptor struct {
SecretRef *SecretRef `json:"secretRef,omitempty"`
EventTypes []string `json:"eventTypes,omitempty"`
}
GitHubInterceptor provides a webhook to intercept and pre-process events
func (*GitHubInterceptor) DeepCopy ¶ added in v0.2.0
func (in *GitHubInterceptor) DeepCopy() *GitHubInterceptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubInterceptor.
func (*GitHubInterceptor) DeepCopyInto ¶ added in v0.2.0
func (in *GitHubInterceptor) DeepCopyInto(out *GitHubInterceptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLabInterceptor ¶ added in v0.2.0
type GitLabInterceptor struct {
SecretRef *SecretRef `json:"secretRef,omitempty"`
EventTypes []string `json:"eventTypes,omitempty"`
}
GitLabInterceptor provides a webhook to intercept and pre-process events
func (*GitLabInterceptor) DeepCopy ¶ added in v0.2.0
func (in *GitLabInterceptor) DeepCopy() *GitLabInterceptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabInterceptor.
func (*GitLabInterceptor) DeepCopyInto ¶ added in v0.2.0
func (in *GitLabInterceptor) DeepCopyInto(out *GitLabInterceptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRef ¶ added in v0.2.0
type SecretRef struct {
SecretKey string `json:"secretKey,omitempty"`
SecretName string `json:"secretName,omitempty"`
Namespace string `json:"namespace,omitempty"`
}
SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the "SecretName" field, which allows us to access a single secret value.
func (*SecretRef) DeepCopy ¶ added in v0.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRef.
func (*SecretRef) DeepCopyInto ¶ added in v0.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerBinding ¶
type TriggerBinding struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec holds the desired state of the TriggerBinding
// +optional
Spec TriggerBindingSpec `json:"spec"`
// +optional
Status TriggerBindingStatus `json:"status"`
}
TriggerBinding 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. +k8s:openapi-gen=true
func (*TriggerBinding) DeepCopy ¶
func (in *TriggerBinding) DeepCopy() *TriggerBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBinding.
func (*TriggerBinding) DeepCopyInto ¶
func (in *TriggerBinding) DeepCopyInto(out *TriggerBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerBinding) DeepCopyObject ¶
func (in *TriggerBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TriggerBinding) SetDefaults ¶
func (tb *TriggerBinding) SetDefaults(ctx context.Context)
SetDefaults initializes TriggerBinding tb with its default values.
func (*TriggerBinding) Validate ¶
func (t *TriggerBinding) Validate(ctx context.Context) *apis.FieldError
Validate TriggerBinding.
type TriggerBindingList ¶
type TriggerBindingList struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
Items []TriggerBinding `json:"items"`
}
TriggerBindingList contains a list of TriggerBindings. We don't use this but it's required for certain codegen features.
func (*TriggerBindingList) DeepCopy ¶
func (in *TriggerBindingList) DeepCopy() *TriggerBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBindingList.
func (*TriggerBindingList) DeepCopyInto ¶
func (in *TriggerBindingList) DeepCopyInto(out *TriggerBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerBindingList) DeepCopyObject ¶
func (in *TriggerBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TriggerBindingSpec ¶
type TriggerBindingSpec struct {
// Params defines the parameter mapping from the given input event.
Params []pipelinev1.Param `json:"params,omitempty"`
}
TriggerBindingSpec defines the desired state of the TriggerBinding.
func (*TriggerBindingSpec) DeepCopy ¶
func (in *TriggerBindingSpec) DeepCopy() *TriggerBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBindingSpec.
func (*TriggerBindingSpec) DeepCopyInto ¶
func (in *TriggerBindingSpec) DeepCopyInto(out *TriggerBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerBindingSpec) Validate ¶
func (s *TriggerBindingSpec) Validate(ctx context.Context) *apis.FieldError
Validate TriggerBindingSpec.
type TriggerBindingStatus ¶
type TriggerBindingStatus struct{}
TriggerBindingStatus defines the observed state of TriggerBinding.
func (*TriggerBindingStatus) DeepCopy ¶
func (in *TriggerBindingStatus) DeepCopy() *TriggerBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerBindingStatus.
func (*TriggerBindingStatus) DeepCopyInto ¶
func (in *TriggerBindingStatus) DeepCopyInto(out *TriggerBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerResourceTemplate ¶
type TriggerResourceTemplate struct {
json.RawMessage `json:",inline"`
}
TriggerResourceTemplate describes a resource to create
func (*TriggerResourceTemplate) DeepCopy ¶
func (in *TriggerResourceTemplate) DeepCopy() *TriggerResourceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerResourceTemplate.
func (*TriggerResourceTemplate) DeepCopyInto ¶
func (in *TriggerResourceTemplate) DeepCopyInto(out *TriggerResourceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerResourceTemplate) IsAllowedType ¶
func (trt *TriggerResourceTemplate) IsAllowedType() bool
IsAllowedType returns true if the resourceTemplate has an apiVersion and kind field set to one of the allowed ones.
type TriggerTemplate ¶
type TriggerTemplate struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec holds the desired state of the TriggerTemplate from the client
// +optional
Spec TriggerTemplateSpec `json:"spec"`
// +optional
Status TriggerTemplateStatus `json:"status"`
}
TriggerTemplate takes parameters and uses them to create CRDs
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true
func (*TriggerTemplate) DeepCopy ¶
func (in *TriggerTemplate) DeepCopy() *TriggerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplate.
func (*TriggerTemplate) DeepCopyInto ¶
func (in *TriggerTemplate) DeepCopyInto(out *TriggerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerTemplate) DeepCopyObject ¶
func (in *TriggerTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*TriggerTemplate) SetDefaults ¶
func (tt *TriggerTemplate) SetDefaults(ctx context.Context)
SetDefaults initializes TriggerTemplate with default values.
func (*TriggerTemplate) Validate ¶
func (t *TriggerTemplate) Validate(ctx context.Context) *apis.FieldError
Validate validates a TriggerTemplate.
type TriggerTemplateList ¶
type TriggerTemplateList struct {
metav1.TypeMeta `json:",inline"`
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
Items []TriggerTemplate `json:"items"`
}
TriggerTemplateList contains a list of TriggerTemplate
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TriggerTemplateList) DeepCopy ¶
func (in *TriggerTemplateList) DeepCopy() *TriggerTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplateList.
func (*TriggerTemplateList) DeepCopyInto ¶
func (in *TriggerTemplateList) DeepCopyInto(out *TriggerTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TriggerTemplateList) DeepCopyObject ¶
func (in *TriggerTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TriggerTemplateSpec ¶
type TriggerTemplateSpec struct {
Params []pipelinev1.ParamSpec `json:"params,omitempty"`
ResourceTemplates []TriggerResourceTemplate `json:"resourcetemplates,omitempty"`
}
TriggerTemplateSpec holds the desired state of TriggerTemplate
func (*TriggerTemplateSpec) DeepCopy ¶
func (in *TriggerTemplateSpec) DeepCopy() *TriggerTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplateSpec.
func (*TriggerTemplateSpec) DeepCopyInto ¶
func (in *TriggerTemplateSpec) DeepCopyInto(out *TriggerTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerTemplateStatus ¶
type TriggerTemplateStatus struct{}
TriggerTemplateStatus describes the desired state of TriggerTemplate
func (*TriggerTemplateStatus) DeepCopy ¶
func (in *TriggerTemplateStatus) DeepCopy() *TriggerTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerTemplateStatus.
func (*TriggerTemplateStatus) DeepCopyInto ¶
func (in *TriggerTemplateStatus) DeepCopyInto(out *TriggerTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookInterceptor ¶ added in v0.2.0
type WebhookInterceptor struct {
// 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
// +optional
ObjectRef *corev1.ObjectReference `json:"objectRef,omitempty"`
// 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.
Header []pipelinev1.Param `json:"header,omitempty"`
}
WebhookInterceptor provides a webhook to intercept and pre-process events
func (*WebhookInterceptor) DeepCopy ¶ added in v0.2.0
func (in *WebhookInterceptor) DeepCopy() *WebhookInterceptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookInterceptor.
func (*WebhookInterceptor) DeepCopyInto ¶ added in v0.2.0
func (in *WebhookInterceptor) DeepCopyInto(out *WebhookInterceptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.