v1alpha1

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 17 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

func ValidateBroker

func ValidateBroker(ctx context.Context, unstructured *unstructured.Unstructured) error

func ValidateRabbitmqBrokerConfig

func ValidateRabbitmqBrokerConfig(ctx context.Context, unstructured *unstructured.Unstructured) error

Types

type QueueType added in v0.33.0

type QueueType string

type RabbitBroker

type RabbitBroker struct {
	eventingv1.Broker
}

+k8s:deepcopy-gen=false

func (*RabbitBroker) Validate

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

type RabbitTrigger

type RabbitTrigger struct {
	eventingv1.Trigger
	Client versioned.Interface
}

+k8s:deepcopy-gen=false

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"`
}

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