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
- func ValidateBroker(ctx context.Context, unstructured *unstructured.Unstructured) error
- func ValidateRabbitmqBrokerConfig(ctx context.Context, unstructured *unstructured.Unstructured) error
- func ValidateTrigger(ctx context.Context) func(context.Context, *unstructured.Unstructured) error
- 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 ( // 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
func ValidateBroker ¶
func ValidateBroker(ctx context.Context, unstructured *unstructured.Unstructured) error
func ValidateRabbitmqBrokerConfig ¶
func ValidateRabbitmqBrokerConfig(ctx context.Context, unstructured *unstructured.Unstructured) error
func ValidateTrigger ¶
func ValidateTrigger(ctx context.Context) func(context.Context, *unstructured.Unstructured) error
Types ¶
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 ¶
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"` }
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.