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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Nifi.
func (*Nifi) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Nifi) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NifiList.
func (*NifiList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NifiList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NifiSpec.
func (*NifiSpec) DeepCopyInto ¶
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.