v1alpha1

package
v0.0.0-...-dbb2713 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 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.quay.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "bigdata.quay.io", 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 +kubebuilder:object:root=true +kubebuilder:subresource:status

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 NifiConsoleSpec

type NifiConsoleSpec struct {
	//+kubebuilder:validation:Required
	Expose bool `json:"expose"`

	//+kubebuilder:validation:Required
	//+kubebuilder:validation:Pattern=^http|HTTP|https|HTTPS$
	//+kubebuilder:default:http
	Protocol string `json:"protocol"`

	//+kubebuilder:validation:Optional
	RouteHostname string `json:"routeHostname"`
}

NifiConsoleSpec contains the Nifi Console configuration

func (*NifiConsoleSpec) DeepCopy

func (in *NifiConsoleSpec) DeepCopy() *NifiConsoleSpec

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

func (*NifiConsoleSpec) DeepCopyInto

func (in *NifiConsoleSpec) DeepCopyInto(out *NifiConsoleSpec)

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

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 {
	//+kubebuilder:validation:Minimum=0
	//+kubebuilder:validation:Required
	//+kubebuilder:default:0
	// Replicas the ammount of pods for a nifi deployment
	Replicas int32 `json:"replicas"`

	//+kubebuilder:validation:Optional
	// Image the container image for the Nifi deployment
	Image string `json:"image"`

	//+kubebuilder:default:true
	//+kubebuilder:validation:Required
	// UseDefaultCredentials defines if Nifi should be configured with the Single User default Credentials
	UseDefaultCredentials bool `json:"useDefaultCredentials"`

	//+kubebuilder:validation:Required
	Console NifiConsoleSpec `json:"console"`

	//+kubebuilder:validation:Optional
	Resources *corev1.ResourceRequirements `json:"resources"`
}

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 {
	// Nodes are the names of the nifi pods
	Nodes []string `json:"nodes"`

	// UI Route reference
	UIRoute string `json:"uiRoute"`
}

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
JackTT - Gopher 🇻🇳