Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the sphong.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=sphong.com.my.domain
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "sphong.com.my.domain", 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 Cerebro ¶
type Cerebro struct {
// Defines the image to use for deploying Cerebro
Image string `json:"image"`
}
Cerebro properties (Optional)
func (*Cerebro) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cerebro.
func (*Cerebro) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Curator ¶
type Curator struct {
// Defines the image to use for deploying Curator
Image string `json:"image"`
}
Curator properties (Optional)
func (*Curator) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Curator.
func (*Curator) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Elasticsearch ¶
type Elasticsearch struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ElasticsearchSpec `json:"spec,omitempty"`
Status ElasticsearchStatus `json:"status,omitempty"`
}
Elasticsearch is the Schema for the elasticsearches API
func (*Elasticsearch) DeepCopy ¶
func (in *Elasticsearch) DeepCopy() *Elasticsearch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Elasticsearch.
func (*Elasticsearch) DeepCopyInto ¶
func (in *Elasticsearch) DeepCopyInto(out *Elasticsearch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Elasticsearch) DeepCopyObject ¶
func (in *Elasticsearch) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchList ¶
type ElasticsearchList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Elasticsearch `json:"items"`
}
ElasticsearchList contains a list of Elasticsearch
func (*ElasticsearchList) DeepCopy ¶
func (in *ElasticsearchList) DeepCopy() *ElasticsearchList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchList.
func (*ElasticsearchList) DeepCopyInto ¶
func (in *ElasticsearchList) DeepCopyInto(out *ElasticsearchList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ElasticsearchList) DeepCopyObject ¶
func (in *ElasticsearchList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ElasticsearchSpec ¶
type ElasticsearchSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
//Master Node Replicas
MasterReplicas int32 `json:"master-replicas"`
//Client Node Replicas
ClientReplicas int32 `json:"client-replicas"`
//Hot Data Node Replica
HotDataReplicas int32 `json:"hot-data-replicas"`
//Warm Data Node Replica
WarmDataReplicas int32 `json:"warm-data-replicas"`
//NodeSelector for the pod to be eligible to run on a node (ex. Hot-Warm Architecture)
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
//Annotations
Annotations map[string]string `json:"annotations,omitempty"`
//Disk Size of Hot Data Node
HotDataDiskSize string `json:"hot-data-volume"`
//Disk Size of Warm Data Node
WarmDataDiskSize string `json:"warm-data-volume"`
//Elasticsearch Image
ElasticsearchImage string `json:"elasticsearch-image"`
//Elasticsearch Cluster Name
ElasticsearchClusterName string `json:"elasticsearch-cluster-name"`
//MasterJavaOpt
MasterJavaOpts string `json:"master-javaOpts"`
//ClientJavaOpt
ClientJavaOpts string `json:"client-javaOpts"`
//HotDataJavaOpt
HotDataJavaOpts string `json:"hot-data-javaOpts"`
//WarmDataJavaOpt
WarmDataJavaOpts string `json:"warm-data-javaOpts"`
//Cerebro
Cerebro Cerebro `json:"cerebro"`
//Kibana
Kibana Kibana `json:"kibana"`
//Curator
Curator Curator `json:"curator"`
}
ElasticsearchSpec defines the desired state of Elasticsearch
func (*ElasticsearchSpec) DeepCopy ¶
func (in *ElasticsearchSpec) DeepCopy() *ElasticsearchSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchSpec.
func (*ElasticsearchSpec) DeepCopyInto ¶
func (in *ElasticsearchSpec) DeepCopyInto(out *ElasticsearchSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchStatus ¶
type ElasticsearchStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
State string `json:"state,omitempty"`
Message string `json:"message,omitempty"`
}
ElasticsearchStatus defines the observed state of Elasticsearch
func (*ElasticsearchStatus) DeepCopy ¶
func (in *ElasticsearchStatus) DeepCopy() *ElasticsearchStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchStatus.
func (*ElasticsearchStatus) DeepCopyInto ¶
func (in *ElasticsearchStatus) DeepCopyInto(out *ElasticsearchStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kibana ¶
type Kibana struct {
// Defines the image to use for deploying kibana
Image string `json:"image"`
}
Kibana properties (Optional)
func (*Kibana) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kibana.
func (*Kibana) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.