v1alpha1

package
v0.0.0-...-7b7db6d Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 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 Nifi

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

	Spec   NifiSpec   `json:"spec,omitempty"`
	Status NifiStatus `json:"status,omitempty"`
}

Nifi is the Schema for the nifis API

func (*Nifi) DeepCopy

func (in *Nifi) DeepCopy() *Nifi

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

func (*Nifi) DeepCopyInto

func (in *Nifi) DeepCopyInto(out *Nifi)

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

func (*Nifi) DeepCopyObject

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

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

type NifiList

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

NifiList contains a list of Nifi

func (*NifiList) DeepCopy

func (in *NifiList) DeepCopy() *NifiList

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

func (*NifiList) DeepCopyInto

func (in *NifiList) DeepCopyInto(out *NifiList)

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

func (*NifiList) DeepCopyObject

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

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

type NifiSpec

type NifiSpec struct {

	// Size defines the number of Nifi 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,omitempty"`
	ContainerPort int32  `json:"containerPort,omitempty"`
	Zookeeper     string `json:"zookeeper,omitempty"`
}

NifiSpec defines the desired state of Nifi

func (*NifiSpec) DeepCopy

func (in *NifiSpec) DeepCopy() *NifiSpec

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

func (*NifiSpec) DeepCopyInto

func (in *NifiSpec) DeepCopyInto(out *NifiSpec)

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

type NifiStatus

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

NifiStatus defines the observed state of Nifi

func (*NifiStatus) DeepCopy

func (in *NifiStatus) DeepCopy() *NifiStatus

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

func (*NifiStatus) DeepCopyInto

func (in *NifiStatus) DeepCopyInto(out *NifiStatus)

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