v1alpha1

package
v0.0.0-...-db10fe4 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: 4 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 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

func (in *Kudu) DeepCopy() *Kudu

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

func (*Kudu) DeepCopyInto

func (in *Kudu) DeepCopyInto(out *Kudu)

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

func (*Kudu) DeepCopyObject

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

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

func (in *KuduList) DeepCopy() *KuduList

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

func (*KuduList) DeepCopyInto

func (in *KuduList) DeepCopyInto(out *KuduList)

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

func (*KuduList) DeepCopyObject

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

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

func (in *KuduSpec) DeepCopy() *KuduSpec

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

func (*KuduSpec) DeepCopyInto

func (in *KuduSpec) DeepCopyInto(out *KuduSpec)

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.

Jump to

Keyboard shortcuts

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