Documentation
¶
Overview ¶
Package v1beta2 contains API Schema definitions for the rabbitmq v1beta2 API group +kubebuilder:object:generate=true +groupName=rabbitmq.controllers.ridecell.io
Index ¶
Constants ¶
const ( RabbitmqStatusReady = "Ready" RabbitmqStatusError = "Error" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rabbitmq.controllers.ridecell.io", Version: "v1beta2"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type RabbitmqPolicy ¶
type RabbitmqPolicy struct { //Name of the policy Name string `json:"name"` // Regular expression pattern used to match queues and exchanges, // , e.g. "^ha\..+" Pattern string `json:"pattern"` // What this policy applies to: "queues", "exchanges", etc. ApplyTo string `json:"apply-to,omitempty"` // Numeric priority of this policy. Priority int `json:"priority,omitempty"` // Additional arguments added to the entities (queues, // exchanges or both) that match a policy Definition string `json:"definition"` }
RabbitmqPolicy defines the rabbitmq policy patterns
func (*RabbitmqPolicy) DeepCopy ¶
func (in *RabbitmqPolicy) DeepCopy() *RabbitmqPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqPolicy.
func (*RabbitmqPolicy) DeepCopyInto ¶
func (in *RabbitmqPolicy) DeepCopyInto(out *RabbitmqPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitmqVhost ¶
type RabbitmqVhost struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RabbitmqVhostSpec `json:"spec,omitempty"` Status RabbitmqVhostStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="Status",type=string,JSONPath=`.status.status` RabbitmqVhost is the Schema for the rabbitmqvhosts API
func (*RabbitmqVhost) DeepCopy ¶
func (in *RabbitmqVhost) DeepCopy() *RabbitmqVhost
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqVhost.
func (*RabbitmqVhost) DeepCopyInto ¶
func (in *RabbitmqVhost) DeepCopyInto(out *RabbitmqVhost)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RabbitmqVhost) DeepCopyObject ¶
func (in *RabbitmqVhost) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RabbitmqVhostList ¶
type RabbitmqVhostList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RabbitmqVhost `json:"items"` }
RabbitmqVhostList contains a list of RabbitmqVhost
func (*RabbitmqVhostList) DeepCopy ¶
func (in *RabbitmqVhostList) DeepCopy() *RabbitmqVhostList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqVhostList.
func (*RabbitmqVhostList) DeepCopyInto ¶
func (in *RabbitmqVhostList) DeepCopyInto(out *RabbitmqVhostList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RabbitmqVhostList) DeepCopyObject ¶
func (in *RabbitmqVhostList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RabbitmqVhostSpec ¶
type RabbitmqVhostSpec struct { RabbitMQCluster string `json:"rabbitmqCluster"` Vhostname string `json:"vhostName"` Policies []RabbitmqPolicy `json:"policies,omitempty"` Username string `json:"username"` UserPermissions UserPermissions `json:"permissions,omitempty"` }
RabbitmqVhostSpec defines the desired state of RabbitmqVhost
func (*RabbitmqVhostSpec) DeepCopy ¶
func (in *RabbitmqVhostSpec) DeepCopy() *RabbitmqVhostSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqVhostSpec.
func (*RabbitmqVhostSpec) DeepCopyInto ¶
func (in *RabbitmqVhostSpec) DeepCopyInto(out *RabbitmqVhostSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RabbitmqVhostStatus ¶
type RabbitmqVhostStatus struct { Status string `json:"status"` Message string `json:"message"` SecretRef corev1.SecretReference `json:"secretRef"` }
RabbitmqVhostStatus defines the observed state of RabbitmqVhost
func (*RabbitmqVhostStatus) DeepCopy ¶
func (in *RabbitmqVhostStatus) DeepCopy() *RabbitmqVhostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RabbitmqVhostStatus.
func (*RabbitmqVhostStatus) DeepCopyInto ¶
func (in *RabbitmqVhostStatus) DeepCopyInto(out *RabbitmqVhostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserPermissions ¶
type UserPermissions struct { // Configuration permissions. Configure string `json:"configure"` // Write permissions. Write string `json:"write"` // Read permissions. Read string `json:"read"` }
RabbitmqPermission defines a single user permissions entry.
func (*UserPermissions) DeepCopy ¶
func (in *UserPermissions) DeepCopy() *UserPermissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserPermissions.
func (*UserPermissions) DeepCopyInto ¶
func (in *UserPermissions) DeepCopyInto(out *UserPermissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.