Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the elasticsearch.msvc v1 API group +kubebuilder:object:generate=true +groupName=elasticsearch.msvc.kloudlite.io
Index ¶
- Variables
- type Expose
- type Kibana
- func (in *Kibana) DeepCopy() *Kibana
- func (in *Kibana) DeepCopyInto(out *Kibana)
- func (in *Kibana) DeepCopyObject() runtime.Object
- func (k *Kibana) EnsureGVK()
- func (k *Kibana) GetEnsuredAnnotations() map[string]string
- func (k *Kibana) GetEnsuredLabels() map[string]string
- func (k *Kibana) GetStatus() *rApi.Status
- type KibanaList
- type KibanaSpec
- type Service
- func (in *Service) DeepCopy() *Service
- func (in *Service) DeepCopyInto(out *Service)
- func (in *Service) DeepCopyObject() runtime.Object
- func (s *Service) EnsureGVK()
- func (s *Service) GetEnsuredAnnotations() map[string]string
- func (s *Service) GetEnsuredLabels() map[string]string
- func (s *Service) GetStatus() *rApi.Status
- type ServiceList
- type ServiceSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "elasticsearch.msvc.kloudlite.io", Version: "v1"} // 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 Expose ¶
type Expose struct { Enabled bool `json:"enabled"` Domain string `json:"domain"` BasicAuthSecret string `json:"basicAuthSecret"` }
func (*Expose) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Expose.
func (*Expose) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kibana ¶
type Kibana struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KibanaSpec `json:"spec"` Status rApi.Status `json:"status,omitempty"` }
Kibana is the Schema for the kibanas API
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.
func (*Kibana) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Kibana) GetEnsuredAnnotations ¶
func (*Kibana) GetEnsuredLabels ¶
type KibanaList ¶
type KibanaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Kibana `json:"items"` }
KibanaList contains a list of Kibana
func (*KibanaList) DeepCopy ¶
func (in *KibanaList) DeepCopy() *KibanaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaList.
func (*KibanaList) DeepCopyInto ¶
func (in *KibanaList) DeepCopyInto(out *KibanaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KibanaList) DeepCopyObject ¶
func (in *KibanaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KibanaSpec ¶
type KibanaSpec struct { // +kubebuilder:default=1 ReplicaCount int `json:"replicaCount,omitempty"` Region string `json:"region"` Resources ct.Resources `json:"resources"` ElasticUrl string `json:"elasticUrl"` Expose Expose `json:"expose"` }
KibanaSpec defines the desired state of Kibana
func (*KibanaSpec) DeepCopy ¶
func (in *KibanaSpec) DeepCopy() *KibanaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KibanaSpec.
func (*KibanaSpec) DeepCopyInto ¶
func (in *KibanaSpec) DeepCopyInto(out *KibanaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceSpec `json:"spec"` Status rApi.Status `json:"status,omitempty"` }
Service is the Schema for the services API
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Service) GetEnsuredAnnotations ¶
func (*Service) GetEnsuredLabels ¶
type ServiceList ¶
type ServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Service `json:"items"` }
ServiceList contains a list of Service
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceSpec ¶
type ServiceSpec struct { // CloudProvider ct.CloudProvider `json:"cloudProvider"` Region string `json:"region"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` // +kubebuidler:default=1 // +kubebuilder:validation:Optional ReplicaCount int `json:"replicaCount"` // Storage ct.Storage `json:"storage"` Resources ct.Resources `json:"resources"` // +kubebuilder:default=true KibanaEnabled bool `json:"kibanaEnabled,omitempty"` }
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.