v1alpha1

package
v0.0.0-...-b57780a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
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

func (in *EnvVar) DeepCopy() *EnvVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.

func (*EnvVar) DeepCopyInto

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

func (in *Hive) DeepCopy() *Hive

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hive.

func (*Hive) DeepCopyInto

func (in *Hive) DeepCopyInto(out *Hive)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Hive) DeepCopyObject

func (in *Hive) DeepCopyObject() runtime.Object

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

func (in *HiveList) DeepCopy() *HiveList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveList.

func (*HiveList) DeepCopyInto

func (in *HiveList) DeepCopyInto(out *HiveList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HiveList) DeepCopyObject

func (in *HiveList) DeepCopyObject() runtime.Object

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

func (in *HiveSpec) DeepCopy() *HiveSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HiveSpec.

func (*HiveSpec) DeepCopyInto

func (in *HiveSpec) DeepCopyInto(out *HiveSpec)

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

func (in *Resources) DeepCopy() *Resources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.

func (*Resources) DeepCopyInto

func (in *Resources) DeepCopyInto(out *Resources)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL