Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the tektonexperimental v1alpha1 API group +kubebuilder:object:generate=true +groupName=tektonexperimental.vincent-pli.com
Index ¶
- Variables
- type Event
- type EventBinding
- type EventBindingList
- type EventBindingSpec
- type EventBindingStatus
- type ListenerTemplate
- func (in *ListenerTemplate) DeepCopy() *ListenerTemplate
- func (in *ListenerTemplate) DeepCopyInto(out *ListenerTemplate)
- func (in *ListenerTemplate) DeepCopyObject() runtime.Object
- func (lt *ListenerTemplate) HasReference() bool
- func (lt *ListenerTemplate) SetDefaults(ctx context.Context)
- func (eb *ListenerTemplate) Validate(ctx context.Context) *apis.FieldError
- type ListenerTemplateList
- type ListenerTemplateSpec
- type ListenerTemplateStatus
- type Param
- type TemplateParam
- type TemplateRef
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tektonexperimental.vincent-pli.com", 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 Event ¶
type Event struct { // Class of Cloudevent Class string `json:"class,omitempty"` // Type of Cloudevent Type string `json:"type,omitempty"` }
Event use to define a cloud event.
func (*Event) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (*Event) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventBinding ¶
type EventBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventBindingSpec `json:"spec,omitempty"` Status EventBindingStatus `json:"status,omitempty"` }
+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +kubebuilder:object:root=true EventBinding is the Schema for the eventbindings API
func (*EventBinding) DeepCopy ¶
func (in *EventBinding) DeepCopy() *EventBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBinding.
func (*EventBinding) DeepCopyInto ¶
func (in *EventBinding) DeepCopyInto(out *EventBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventBinding) DeepCopyObject ¶
func (in *EventBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EventBinding) SetDefaults ¶
func (eb *EventBinding) SetDefaults(ctx context.Context)
SetDefaults for pipelinerun
func (*EventBinding) Validate ¶
func (eb *EventBinding) Validate(ctx context.Context) *apis.FieldError
Validate checks that the Pipeline structure is valid but does not validate that any references resources exist, that is done at run time.
type EventBindingList ¶
type EventBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventBinding `json:"items"` }
EventBindingList contains a list of EventBinding
func (*EventBindingList) DeepCopy ¶
func (in *EventBindingList) DeepCopy() *EventBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBindingList.
func (*EventBindingList) DeepCopyInto ¶
func (in *EventBindingList) DeepCopyInto(out *EventBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventBindingList) DeepCopyObject ¶
func (in *EventBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventBindingSpec ¶
type EventBindingSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file // ServiceAccountName holds the name of the Kubernetes service account // as which the underlying K8s resources should be run. If unspecified // this will default to the "default" service account for the namespace // in which the GitLabSource exists. // +optional ServiceAccountName string `json:"serviceAccountName,omitempty"` TemplateRef TemplateRef `json:"templateRef"` Event Event `json:"event"` Params []Param `json:"params,omitempty"` }
EventBindingSpec defines the desired state of EventBinding
func (*EventBindingSpec) DeepCopy ¶
func (in *EventBindingSpec) DeepCopy() *EventBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBindingSpec.
func (*EventBindingSpec) DeepCopyInto ¶
func (in *EventBindingSpec) DeepCopyInto(out *EventBindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventBindingStatus ¶
type EventBindingStatus struct { }
EventBindingStatus defines the observed state of EventBinding
func (*EventBindingStatus) DeepCopy ¶
func (in *EventBindingStatus) DeepCopy() *EventBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventBindingStatus.
func (*EventBindingStatus) DeepCopyInto ¶
func (in *EventBindingStatus) DeepCopyInto(out *EventBindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerTemplate ¶
type ListenerTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ListenerTemplateSpec `json:"spec,omitempty"` Status ListenerTemplateStatus `json:"status,omitempty"` }
func (*ListenerTemplate) DeepCopy ¶
func (in *ListenerTemplate) DeepCopy() *ListenerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerTemplate.
func (*ListenerTemplate) DeepCopyInto ¶
func (in *ListenerTemplate) DeepCopyInto(out *ListenerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerTemplate) DeepCopyObject ¶
func (in *ListenerTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ListenerTemplate) HasReference ¶
func (lt *ListenerTemplate) HasReference() bool
HasReference returns true if AvailableReference in Status is not 0 .
func (*ListenerTemplate) SetDefaults ¶
func (lt *ListenerTemplate) SetDefaults(ctx context.Context)
SetDefaults for pipelinerun
func (*ListenerTemplate) Validate ¶
func (eb *ListenerTemplate) Validate(ctx context.Context) *apis.FieldError
Validate checks that the Pipeline structure is valid but does not validate that any references resources exist, that is done at run time.
type ListenerTemplateList ¶
type ListenerTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ListenerTemplate `json:"items"` }
ListenerTemplateList contains a list of ListenerTemplate
func (*ListenerTemplateList) DeepCopy ¶
func (in *ListenerTemplateList) DeepCopy() *ListenerTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerTemplateList.
func (*ListenerTemplateList) DeepCopyInto ¶
func (in *ListenerTemplateList) DeepCopyInto(out *ListenerTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ListenerTemplateList) DeepCopyObject ¶
func (in *ListenerTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ListenerTemplateSpec ¶
type ListenerTemplateSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Params []TemplateParam `json:"params,omitempty"` Resources []pipelinev1alpha1.PipelineResourceSpec `json:"resources,omitempty"` PipelineRun pipelinev1alpha1.PipelineRunSpec `json:"pipelinerun,omitempty"` }
ListenerTemplateSpec defines the desired state of ListenerTemplate
func (*ListenerTemplateSpec) DeepCopy ¶
func (in *ListenerTemplateSpec) DeepCopy() *ListenerTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerTemplateSpec.
func (*ListenerTemplateSpec) DeepCopyInto ¶
func (in *ListenerTemplateSpec) DeepCopyInto(out *ListenerTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenerTemplateStatus ¶
type ListenerTemplateStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file AvailableReference int32 `json:"availableReference"` }
ListenerTemplateStatus defines the observed state of ListenerTemplate
func (*ListenerTemplateStatus) DeepCopy ¶
func (in *ListenerTemplateStatus) DeepCopy() *ListenerTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenerTemplateStatus.
func (*ListenerTemplateStatus) DeepCopyInto ¶
func (in *ListenerTemplateStatus) DeepCopyInto(out *ListenerTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Param ¶
Param declares a value to use for the Param called Name.
func (*Param) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.
func (*Param) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateParam ¶
type TemplateParam struct { Name string `json:"name"` // +optional Description string `json:"description,omitempty"` // +optional Default string `json:"default,omitempty"` }
TemplateParam defines arbitrary parameters needed by a Pipelinerun, Resource defined in the ListenerTemplate.
func (*TemplateParam) DeepCopy ¶
func (in *TemplateParam) DeepCopy() *TemplateParam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateParam.
func (*TemplateParam) DeepCopyInto ¶
func (in *TemplateParam) DeepCopyInto(out *TemplateParam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateRef ¶
type TemplateRef struct { // Name of the referent Name string `json:"name,omitempty"` // API version of the referent // +optional APIVersion string `json:"apiVersion,omitempty"` }
TemplateRef can be used to refer to a specific instance of a eventBinding.
func (*TemplateRef) DeepCopy ¶
func (in *TemplateRef) DeepCopy() *TemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateRef.
func (*TemplateRef) DeepCopyInto ¶
func (in *TemplateRef) DeepCopyInto(out *TemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.