Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the middleware v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=middleware.io
Package v1alpha1 contains API Schema definitions for the middleware v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=middleware.io
Index ¶
Constants ¶
const ( ZooKeeperClientPort int32 = 2181 ZooKeeperServerPort int32 = 2888 ZooKeeperLeaderElectionPort int32 = 3888 ZooKeeperImage string = "riet/kubernetes-zookeeper:1.0-3.4.10" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "middleware.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Zookeeper ¶
type Zookeeper struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ZookeeperSpec `json:"spec,omitempty"` Status ZookeeperStatus `json:"status,omitempty"` }
Zookeeper is the Schema for the zookeepers API +kubebuilder:subresource:status +kubebuilder:resource:path=zookeepers,scope=Namespaced
func (*Zookeeper) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zookeeper.
func (*Zookeeper) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zookeeper) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZookeeperList ¶
type ZookeeperList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Zookeeper `json:"items"` }
ZookeeperList contains a list of Zookeeper
func (*ZookeeperList) DeepCopy ¶
func (in *ZookeeperList) DeepCopy() *ZookeeperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperList.
func (*ZookeeperList) DeepCopyInto ¶
func (in *ZookeeperList) DeepCopyInto(out *ZookeeperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZookeeperList) DeepCopyObject ¶
func (in *ZookeeperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZookeeperSpec ¶
type ZookeeperSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Servers int32 `json:"servers"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` StorageClass string `json:"storageClass,omitempty"` StorageSize string `json:"storageSize,omitempty"` Heap string `json:"heap"` }
ZookeeperSpec defines the desired state of Zookeeper
func (*ZookeeperSpec) DeepCopy ¶
func (in *ZookeeperSpec) DeepCopy() *ZookeeperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperSpec.
func (*ZookeeperSpec) DeepCopyInto ¶
func (in *ZookeeperSpec) DeepCopyInto(out *ZookeeperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZookeeperStatus ¶
type ZookeeperStatus struct { }
ZookeeperStatus defines the observed state of Zookeeper
func (*ZookeeperStatus) DeepCopy ¶
func (in *ZookeeperStatus) DeepCopy() *ZookeeperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperStatus.
func (*ZookeeperStatus) DeepCopyInto ¶
func (in *ZookeeperStatus) DeepCopyInto(out *ZookeeperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.