v1alpha1

package
v0.0.0-...-4866f5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: listenercontroller.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

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

func (in *Event) DeepCopy() *Event

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.

func (*Event) DeepCopyInto

func (in *Event) DeepCopyInto(out *Event)

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"`
	Status EventBindingStatus `json:"status"`
}

EventBinding is a specification for a eventBinding resource

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.

type EventBindingList

type EventBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []EventBinding `json:"items"`
}

EventBindingList is a list of EventBindingList resources

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 {
	// 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 is the spec for a eventBinding resource

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 {
	duckv1beta1.Status `json:",inline"`
}

EventBindingStatus is the status for a eventBinding resource

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"`
	Status ListenerTemplateStatus `json:"status"`
}

ListenerTemplate is a specification for a listenerTemplate resource

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 .

type ListenerTemplateList

type ListenerTemplateList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ListenerTemplate `json:"items"`
}

ListenerTemplateList is a list of ListenerTemplate resources

func (*ListenerTemplateList) DeepCopy

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 {
	Params      []TemplateParam                         `json:"params,omitempty"`
	Resources   []pipelinev1alpha1.PipelineResourceSpec `json:"resources,omitempty"`
	PipelineRun pipelinev1alpha1.PipelineRunSpec        `json:"pipelinerun,omitempty"`
}

ListenerTemplateSpec is the spec for a listenerTemplate resource

func (*ListenerTemplateSpec) DeepCopy

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 {
	AvailableReference int32 `json:"availableReference"`
}

ListenerTemplateStatus is the status for a ListenerTemplate resource

func (*ListenerTemplateStatus) DeepCopy

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

type Param struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Param declares a value to use for the Param called Name.

func (*Param) DeepCopy

func (in *Param) DeepCopy() *Param

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.

func (*Param) DeepCopyInto

func (in *Param) DeepCopyInto(out *Param)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL