v1alpha1

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the sources v1alpha1 API group +k8s:deepcopy-gen=package +groupName=eventing.knative.dev +kubebuilder:object:generate=true

+k8s:deepcopy-gen=package +groupName=eventing.knative.dev

Index

Constants

View Source
const (
	BrokerClass = "RabbitMQBroker"
)

Variables

View Source
var (
	QuorumQueueType  = QueueType("quorum")
	ClassicQueueType = QueueType("classic")
)
View Source
var (
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: eventing.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type QueueType added in v0.33.0

type QueueType string

type RabbitBroker

type RabbitBroker struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec eventingv1.BrokerSpec `json:"spec,omitempty"`

	// +optional
	Status eventingv1.BrokerStatus `json:"status,omitempty"`
}

stub Broker in order to set up validations and defaults +k8s:controller-gen=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RabbitBroker) DeepCopy added in v0.36.0

func (in *RabbitBroker) DeepCopy() *RabbitBroker

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

func (*RabbitBroker) DeepCopyInto added in v0.36.0

func (in *RabbitBroker) DeepCopyInto(out *RabbitBroker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RabbitBroker) DeepCopyObject added in v0.36.0

func (in *RabbitBroker) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RabbitBroker) SetDefaults added in v0.36.0

func (t *RabbitBroker) SetDefaults(ctx context.Context)

func (*RabbitBroker) Validate

func (b *RabbitBroker) Validate(ctx context.Context) *apis.FieldError

type RabbitTrigger

type RabbitTrigger struct {
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec eventingv1.TriggerSpec `json:"spec,omitempty"`

	// +optional
	Status eventingv1.TriggerStatus `json:"status,omitempty"`
}

+k8s:controller-gen=false +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RabbitTrigger) DeepCopy added in v0.36.0

func (in *RabbitTrigger) DeepCopy() *RabbitTrigger

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

func (*RabbitTrigger) DeepCopyInto added in v0.36.0

func (in *RabbitTrigger) DeepCopyInto(out *RabbitTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RabbitTrigger) DeepCopyObject added in v0.36.0

func (in *RabbitTrigger) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RabbitTrigger) SetDefaults added in v0.36.0

func (t *RabbitTrigger) SetDefaults(ctx context.Context)

func (*RabbitTrigger) Validate

func (t *RabbitTrigger) Validate(ctx context.Context) *apis.FieldError

type RabbitmqBrokerConfig

type RabbitmqBrokerConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec RabbitmqBrokerConfigSpec `json:"spec,omitempty"`
}

RabbitmqBrokerConfig is the Schema for the RabbitmqBrokerConfig API. +k8s:openapi-gen=true

func (*RabbitmqBrokerConfig) DeepCopy

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

func (*RabbitmqBrokerConfig) DeepCopyInto

func (in *RabbitmqBrokerConfig) DeepCopyInto(out *RabbitmqBrokerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RabbitmqBrokerConfig) DeepCopyObject

func (in *RabbitmqBrokerConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*RabbitmqBrokerConfig) GetGroupVersionKind

func (s *RabbitmqBrokerConfig) GetGroupVersionKind() schema.GroupVersionKind

func (*RabbitmqBrokerConfig) SetDefaults

func (r *RabbitmqBrokerConfig) SetDefaults(ctx context.Context)

func (*RabbitmqBrokerConfig) Validate

type RabbitmqBrokerConfigList

type RabbitmqBrokerConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RabbitmqBrokerConfig `json:"items"`
}

RabbitmqBrokerConfigList contains a list of RabbitmqBrokerConfigs.

func (*RabbitmqBrokerConfigList) DeepCopy

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

func (*RabbitmqBrokerConfigList) DeepCopyInto

func (in *RabbitmqBrokerConfigList) DeepCopyInto(out *RabbitmqBrokerConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RabbitmqBrokerConfigList) DeepCopyObject

func (in *RabbitmqBrokerConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type RabbitmqBrokerConfigSpec

type RabbitmqBrokerConfigSpec struct {
	// RabbitmqClusterReference stores a reference to RabbitmqCluster. This will get used to create resources on the RabbitMQ Broker.
	RabbitmqClusterReference *v1beta1.RabbitmqClusterReference `json:"rabbitmqClusterReference,omitempty"`

	// +optional
	// +kubebuilder:default:=quorum
	// +kubebuilder:validation:Enum=quorum;classic
	QueueType QueueType `json:"queueType"`

	// Vhost is the name of the VHost that will be used to set
	// up our broker's resources, and the trigger's resources that connects to it
	// +optional
	Vhost string `json:"vhost,omitempty"`
}

func (*RabbitmqBrokerConfigSpec) DeepCopy

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

func (*RabbitmqBrokerConfigSpec) DeepCopyInto

func (in *RabbitmqBrokerConfigSpec) DeepCopyInto(out *RabbitmqBrokerConfigSpec)

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