Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the integrations v1alpha1 API group +kubebuilder:object:generate=true +groupName=integrations.tekton.ornew.io
Index ¶
- Constants
- Variables
- type AccessTokenSource
- type GitHubAppSpec
- type LocalSecretKeyReference
- type Notification
- type NotificationList
- type NotificationSpec
- type NotificationStatus
- type PipelineRunFilter
- type PrivateKeySource
- type Provider
- type ProviderList
- type ProviderSpec
- type ProviderStatus
- type RunFilter
- type SlackAppSpec
- type SlackChannel
- type TaskRunFilter
Constants ¶
const ( ReadyCondition = "Ready" InitializedReason = "Initialized" ReconcileFailedReason = "ReconcileFailed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "integrations.tekton.ornew.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AccessTokenSource ¶
type AccessTokenSource struct { // +optional SecretRef *LocalSecretKeyReference `json:"secretRef,omitempty"` }
func (*AccessTokenSource) DeepCopy ¶
func (in *AccessTokenSource) DeepCopy() *AccessTokenSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessTokenSource.
func (*AccessTokenSource) DeepCopyInto ¶
func (in *AccessTokenSource) DeepCopyInto(out *AccessTokenSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitHubAppSpec ¶
type GitHubAppSpec struct { // +required AppId int64 `json:"appId"` // +required PrivateKey PrivateKeySource `json:"privateKey"` // +optional BaseURL *string `json:"baseURL,omitempty"` }
GitHubAppSpec represents information about an GitHub App.
func (*GitHubAppSpec) DeepCopy ¶
func (in *GitHubAppSpec) DeepCopy() *GitHubAppSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubAppSpec.
func (*GitHubAppSpec) DeepCopyInto ¶
func (in *GitHubAppSpec) DeepCopyInto(out *GitHubAppSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalSecretKeyReference ¶
type LocalSecretKeyReference struct { corev1.LocalObjectReference `json:",inline"` // +optional Key *string `json:"key,omitempty"` }
+structType=atomic
func (*LocalSecretKeyReference) DeepCopy ¶
func (in *LocalSecretKeyReference) DeepCopy() *LocalSecretKeyReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalSecretKeyReference.
func (*LocalSecretKeyReference) DeepCopyInto ¶
func (in *LocalSecretKeyReference) DeepCopyInto(out *LocalSecretKeyReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Notification ¶
type Notification struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NotificationSpec `json:"spec,omitempty"` Status NotificationStatus `json:"status,omitempty"` }
Notification is the Schema for the notifications API
func (*Notification) DeepCopy ¶
func (in *Notification) DeepCopy() *Notification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notification.
func (*Notification) DeepCopyInto ¶
func (in *Notification) DeepCopyInto(out *Notification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Notification) DeepCopyObject ¶
func (in *Notification) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationList ¶
type NotificationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Notification `json:"items"` }
NotificationList contains a list of Notification
func (*NotificationList) DeepCopy ¶
func (in *NotificationList) DeepCopy() *NotificationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationList.
func (*NotificationList) DeepCopyInto ¶
func (in *NotificationList) DeepCopyInto(out *NotificationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NotificationList) DeepCopyObject ¶
func (in *NotificationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NotificationSpec ¶
type NotificationSpec struct { // Handle events using this provider. // +required ProviderRef corev1.LocalObjectReference `json:"providerRef"` // This flag tells the controller to suspend subsequent events dispatching. // Defaults to false. // +optional Suspend bool `json:"suspend,omitempty"` }
NotificationSpec defines the desired state of Notification
func (*NotificationSpec) DeepCopy ¶
func (in *NotificationSpec) DeepCopy() *NotificationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationSpec.
func (*NotificationSpec) DeepCopyInto ¶
func (in *NotificationSpec) DeepCopyInto(out *NotificationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NotificationStatus ¶
type NotificationStatus struct { // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the last observed generation. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
NotificationStatus defines the observed state of Notification
func (*NotificationStatus) DeepCopy ¶
func (in *NotificationStatus) DeepCopy() *NotificationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotificationStatus.
func (*NotificationStatus) DeepCopyInto ¶
func (in *NotificationStatus) DeepCopyInto(out *NotificationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineRunFilter ¶
type PipelineRunFilter struct { // +required Enabled bool `json:"enabled"` }
func (*PipelineRunFilter) DeepCopy ¶
func (in *PipelineRunFilter) DeepCopy() *PipelineRunFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineRunFilter.
func (*PipelineRunFilter) DeepCopyInto ¶
func (in *PipelineRunFilter) DeepCopyInto(out *PipelineRunFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PrivateKeySource ¶
type PrivateKeySource struct { // +optional SecretRef *LocalSecretKeyReference `json:"secretRef,omitempty"` }
func (*PrivateKeySource) DeepCopy ¶
func (in *PrivateKeySource) DeepCopy() *PrivateKeySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateKeySource.
func (*PrivateKeySource) DeepCopyInto ¶
func (in *PrivateKeySource) DeepCopyInto(out *PrivateKeySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶
type Provider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderSpec `json:"spec,omitempty"` Status ProviderStatus `json:"status,omitempty"` }
Provider is the Schema for the providers API
func (*Provider) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Provider) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderList ¶
type ProviderList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Provider `json:"items"` }
ProviderList contains a list of Provider
func (*ProviderList) DeepCopy ¶
func (in *ProviderList) DeepCopy() *ProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderList.
func (*ProviderList) DeepCopyInto ¶
func (in *ProviderList) DeepCopyInto(out *ProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderList) DeepCopyObject ¶
func (in *ProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderSpec ¶
type ProviderSpec struct { // The type of this provider. // +required // +kubebuilder:validation:Required // +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` // +kubebuilder:validation:MaxLength=64 Type string `json:"type"` // +optional GitHubApp *GitHubAppSpec `json:"githubApp,omitempty"` // +optional SlackApp *SlackAppSpec `json:"slackApp,omitempty"` }
ProviderSpec defines the desired state of Provider
func (*ProviderSpec) DeepCopy ¶
func (in *ProviderSpec) DeepCopy() *ProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.
func (*ProviderSpec) DeepCopyInto ¶
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderStatus ¶
type ProviderStatus struct { // +optional Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the last observed generation. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
ProviderStatus defines the observed state of Provider
func (*ProviderStatus) DeepCopy ¶
func (in *ProviderStatus) DeepCopy() *ProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus.
func (*ProviderStatus) DeepCopyInto ¶
func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunFilter ¶
type RunFilter struct { // +optional TaskRun *TaskRunFilter `json:"taskRun,omitempty"` // +optional PipelineRun *PipelineRunFilter `json:"pipelineRun,omitempty"` // +optional LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` }
RunFilter defines rules for filtering Tekton Run objects.
func (*RunFilter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunFilter.
func (*RunFilter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackAppSpec ¶
type SlackAppSpec struct { // +required AccessToken AccessTokenSource `json:"accessToken"` // +required // +kubebuilder:validation:MinItems=1 Channels []SlackChannel `json:"channels"` }
SlackAppSpec represents information about an Slack App.
func (*SlackAppSpec) DeepCopy ¶
func (in *SlackAppSpec) DeepCopy() *SlackAppSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackAppSpec.
func (*SlackAppSpec) DeepCopyInto ¶
func (in *SlackAppSpec) DeepCopyInto(out *SlackAppSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SlackChannel ¶
type SlackChannel struct { // The id of channel. e.g. C1234567890 // +kubebuilder:validation:Pattern=`^C[0-9]+$` // +optional ID *string `json:"id,omitempty"` // The name of the channel. If an ID is specified, it will be ignored. // +optional Name *string `json:"name,omitempty"` }
func (*SlackChannel) DeepCopy ¶
func (in *SlackChannel) DeepCopy() *SlackChannel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SlackChannel.
func (*SlackChannel) DeepCopyInto ¶
func (in *SlackChannel) DeepCopyInto(out *SlackChannel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskRunFilter ¶
type TaskRunFilter struct { // +required Enabled bool `json:"enabled"` }
func (*TaskRunFilter) DeepCopy ¶
func (in *TaskRunFilter) DeepCopy() *TaskRunFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunFilter.
func (*TaskRunFilter) DeepCopyInto ¶
func (in *TaskRunFilter) DeepCopyInto(out *TaskRunFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.