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
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type QueueType
- type RabbitBroker
- type RabbitTrigger
- type RabbitmqBrokerConfig
- func (in *RabbitmqBrokerConfig) DeepCopy() *RabbitmqBrokerConfig
- func (in *RabbitmqBrokerConfig) DeepCopyInto(out *RabbitmqBrokerConfig)
- func (in *RabbitmqBrokerConfig) DeepCopyObject() runtime.Object
- func (s *RabbitmqBrokerConfig) GetGroupVersionKind() schema.GroupVersionKind
- func (r *RabbitmqBrokerConfig) SetDefaults(ctx context.Context)
- func (r *RabbitmqBrokerConfig) Validate(ctx context.Context) *apis.FieldError
- type RabbitmqBrokerConfigList
- type RabbitmqBrokerConfigSpec
Constants ¶
const (
BrokerClass = "RabbitMQBroker"
)
Variables ¶
var ( QuorumQueueType = QueueType("quorum") ClassicQueueType = QueueType("classic") )
var ( // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: eventing.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
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 ¶
func (in *RabbitmqBrokerConfig) DeepCopy() *RabbitmqBrokerConfig
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 ¶
func (r *RabbitmqBrokerConfig) Validate(ctx context.Context) *apis.FieldError
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 ¶
func (in *RabbitmqBrokerConfigList) DeepCopy() *RabbitmqBrokerConfigList
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 ¶
func (in *RabbitmqBrokerConfigSpec) DeepCopy() *RabbitmqBrokerConfigSpec
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.