Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the bigdata v1alpha1 API group +kubebuilder:object:generate=true +groupName=bigdata.kubernetesbigdataeg.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "bigdata.kubernetesbigdataeg.org", Version: "v1alpha1"} // 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 Kudu ¶
type Kudu struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KuduSpec `json:"spec,omitempty"` Status KuduStatus `json:"status,omitempty"` }
Kudu is the Schema for the kudus API
func (*Kudu) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kudu.
func (*Kudu) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kudu) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KuduList ¶
type KuduList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Kudu `json:"items"` }
KuduList contains a list of Kudu
func (*KuduList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuduList.
func (*KuduList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KuduList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KuduSpec ¶
type KuduSpec struct { // Size defines the number of Kudu instances // The following markers will use OpenAPI v3 schema to validate the value // More info: https://book.kubebuilder.io/reference/markers/crd-validation.html // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=3 // +kubebuilder:validation:ExclusiveMaximum=false MasterSize int32 `json:"masterSize,omitempty"` TserverSize int32 `json:"tserverSize,omitempty"` }
KuduSpec defines the desired state of Kudu
func (*KuduSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuduSpec.
func (*KuduSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KuduStatus ¶
type KuduStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
KuduStatus defines the observed state of Kudu
func (*KuduStatus) DeepCopy ¶
func (in *KuduStatus) DeepCopy() *KuduStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KuduStatus.
func (*KuduStatus) DeepCopyInto ¶
func (in *KuduStatus) DeepCopyInto(out *KuduStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.