v1alpha1

package
v0.0.0-...-51fbfae Latest Latest
Warning

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

Go to latest
Published: May 21, 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 AdminSpec

type AdminSpec struct {
	User      string `json:"user,omitempty"`
	Pass      string `json:"pass,omitempty"`
	Firstname string `json:"firstname,omitempty"`
	Lastname  string `json:"lastname,omitempty"`
	Email     string `json:"email,omitempty"`
}

func (*AdminSpec) DeepCopy

func (in *AdminSpec) DeepCopy() *AdminSpec

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

func (*AdminSpec) DeepCopyInto

func (in *AdminSpec) DeepCopyInto(out *AdminSpec)

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

type DbConnection

type DbConnection struct {
	RedisHost string `json:"redisHost"`
	RedisPort string `json:"redisPort"`
	DbHost    string `json:"dbHost"`
	DbPort    string `json:"dbPort"`
	DbUser    string `json:"dbUser"`
	DbPass    string `json:"dbPass"`
	DbName    string `json:"dbName"`
}

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 {
	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 ServiceSpec

type ServiceSpec struct {
	UiNodePort int32 `json:"uiNodePort"`
}

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.

type Superset

type Superset struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SupersetSpec   `json:"spec,omitempty"`
	Status SupersetStatus `json:"status,omitempty"`
}

Superset is the Schema for the supersets API

func (*Superset) DeepCopy

func (in *Superset) DeepCopy() *Superset

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

func (*Superset) DeepCopyInto

func (in *Superset) DeepCopyInto(out *Superset)

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

func (*Superset) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SupersetList

type SupersetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Superset `json:"items"`
}

SupersetList contains a list of Superset

func (*SupersetList) DeepCopy

func (in *SupersetList) DeepCopy() *SupersetList

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

func (*SupersetList) DeepCopyInto

func (in *SupersetList) DeepCopyInto(out *SupersetList)

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

func (*SupersetList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SupersetSpec

type SupersetSpec struct {

	// Size defines the number of Superset 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"`
	WorkerSize       int32          `json:"workerSize,omitempty"`
	BaseImageVersion string         `json:"baseImageVersion,omitempty"`
	Deployment       DeploymentSpec `json:"deployment,omitempty"`
	Service          ServiceSpec    `json:"service"`
	Admin            AdminSpec      `json:"admin,omitempty"`
	DbConnection     DbConnection   `json:"dbConnection"`
}

SupersetSpec defines the desired state of Superset

func (*SupersetSpec) DeepCopy

func (in *SupersetSpec) DeepCopy() *SupersetSpec

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

func (*SupersetSpec) DeepCopyInto

func (in *SupersetSpec) DeepCopyInto(out *SupersetSpec)

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

type SupersetStatus

type SupersetStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

SupersetStatus defines the observed state of Superset

func (*SupersetStatus) DeepCopy

func (in *SupersetStatus) DeepCopy() *SupersetStatus

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

func (*SupersetStatus) DeepCopyInto

func (in *SupersetStatus) DeepCopyInto(out *SupersetStatus)

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