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 DbConnection ¶
type DbConnection struct { //DbType string `json:"dbType,omitempty"` UserName string `json:"userName"` PassWord string `json:"passWord"` Url string `json:"url"` }
func (*DbConnection) DeepCopy ¶
func (in *DbConnection) DeepCopy() *DbConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DbConnection.
func (*DbConnection) DeepCopyInto ¶
func (in *DbConnection) DeepCopyInto(out *DbConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentSpec ¶
type DeploymentSpec struct { EnvVar EnvVar `json:"envVar"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*DeploymentSpec) DeepCopy ¶
func (in *DeploymentSpec) DeepCopy() *DeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (*DeploymentSpec) DeepCopyInto ¶
func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
type EnvVar struct { //HIVE_DB_EXTERNAL string `json:"HIVE_DB_EXTERNAL,omitempty"` HIVE_DB_NAME string `json:"HIVE_DB_NAME"` }
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hive ¶
type Hive struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HiveSpec `json:"spec,omitempty"` Status HiveStatus `json:"status,omitempty"` }
Hive is the Schema for the hives API
func (*Hive) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hive.
func (*Hive) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hive) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HiveList ¶
type HiveList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Hive `json:"items"` }
HiveList contains a list of Hive
func (*HiveList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveList.
func (*HiveList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HiveList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HiveSpec ¶
type HiveSpec struct { // Size defines the number of Hive 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 Size int32 `json:"size"` BaseImageVersion string `json:"baseImageVersion,omitempty"` HiveMetastoreUris string `json:"hiveMetastoreUris"` Service ServiceSpec `json:"service,omitempty"` Deployment DeploymentSpec `json:"deployment"` DbConnection DbConnection `json:"dbConnection"` }
HiveSpec defines the desired state of Hive
func (*HiveSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveSpec.
func (*HiveSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HiveStatus ¶
type HiveStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
HiveStatus defines the observed state of Hive
func (*HiveStatus) DeepCopy ¶
func (in *HiveStatus) DeepCopy() *HiveStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveStatus.
func (*HiveStatus) DeepCopyInto ¶
func (in *HiveStatus) DeepCopyInto(out *HiveStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
type Resources struct { MemoryRequest string `json:"memoryRequest,omitempty"` CpuRequest string `json:"cpuRequest,omitempty"` MemoryLimit string `json:"memoryLimit,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` }
func (*Resources) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpec ¶
type ServiceSpec struct { ThriftPort int32 `json:"thriftPort,omitempty"` HiveServerPort int32 `json:"hiveServerPort,omitempty"` }
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.