Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=elasticsearch.redhat.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version} )
Functions ¶
This section is empty.
Types ¶
type Elasticsearch ¶
type Elasticsearch struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ElasticsearchSpec `json:"spec"` Status ElasticsearchStatus `json:"status,omitempty"` }
Elasticsearch struct represents Elasticsearch cluster CRD
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"` Items []Elasticsearch `json:"items"` }
ElasticsearchList struct represents list of Elasticsearch objects
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 ElasticsearchNode ¶
type ElasticsearchNode struct { Roles []ElasticsearchNodeRole `json:"roles"` Replicas int32 `json:"replicas"` Spec ElasticsearchNodeSpec `json:"nodeSpec"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Storage ElasticsearchNodeStorageSource `json:"storage"` }
ElasticsearchNode struct represents individual node in Elasticsearch cluster
func (*ElasticsearchNode) DeepCopy ¶
func (in *ElasticsearchNode) DeepCopy() *ElasticsearchNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchNode.
func (*ElasticsearchNode) DeepCopyInto ¶
func (in *ElasticsearchNode) DeepCopyInto(out *ElasticsearchNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchNodeRole ¶
type ElasticsearchNodeRole string
const ( ElasticsearchRoleClient ElasticsearchNodeRole = "client" ElasticsearchRoleData ElasticsearchNodeRole = "data" ElasticsearchRoleMaster ElasticsearchNodeRole = "master" )
type ElasticsearchNodeSpec ¶
type ElasticsearchNodeSpec struct { Image string `json:"image,omitempty"` Resources v1.ResourceRequirements `json:"resources"` }
ElasticsearchNodeSpec represents configuration of an individual Elasticsearch node
func (*ElasticsearchNodeSpec) DeepCopy ¶
func (in *ElasticsearchNodeSpec) DeepCopy() *ElasticsearchNodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchNodeSpec.
func (*ElasticsearchNodeSpec) DeepCopyInto ¶
func (in *ElasticsearchNodeSpec) DeepCopyInto(out *ElasticsearchNodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchNodeStatus ¶
type ElasticsearchNodeStatus struct { DeploymentName string `json:"deploymentName,omitempty"` ReplicaSetName string `json:"replicaSetName,omitempty"` StatefulSetName string `json:"statefulSetName,omitempty"` PodName string `json:"podName,omitempty"` Status string `json:"status,omitempty"` }
ElasticsearchNodeStatus represents the status of individual Elasticsearch node
func (*ElasticsearchNodeStatus) DeepCopy ¶
func (in *ElasticsearchNodeStatus) DeepCopy() *ElasticsearchNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchNodeStatus.
func (*ElasticsearchNodeStatus) DeepCopyInto ¶
func (in *ElasticsearchNodeStatus) DeepCopyInto(out *ElasticsearchNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchNodeStorageSource ¶
type ElasticsearchNodeStorageSource struct { // HostPath option will mount directory from the host. // Cluster administrator must grant `hostaccess` scc to the service account. // Cluster admin also must set appropriate SELINUX labels and perissions // for the directory on the host. HostPath *v1.HostPathVolumeSource `json:"hostPath,omitempty"` // EmptyDir should be only used for testing purposes and not in production. // This option will use temporary directory for data storage. Data will be lost // when Pod is regenerated. EmptyDir *v1.EmptyDirVolumeSource `json:"emptyDir,omitempty"` // VolumeClaimTemplate is supposed to act similarly to VolumeClaimTemplates field // of StatefulSetSpec. Meaning that it'll generate a number of PersistentVolumeClaims // per individual Elasticsearch cluster node. The actual PVC name used will // be constructed from VolumeClaimTemplate name, node type and replica number // for the specific node. VolumeClaimTemplate *v1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"` // PersistentVolumeClaim will NOT try to regenerate PVC, it will be used // as-is. You may want to use it instead of VolumeClaimTemplate in case // you already have bounded PersistentVolumeClaims you want to use, and the names // of these PersistentVolumeClaims doesn't follow the naming convention. PersistentVolumeClaim *v1.PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"` }
func (*ElasticsearchNodeStorageSource) DeepCopy ¶
func (in *ElasticsearchNodeStorageSource) DeepCopy() *ElasticsearchNodeStorageSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchNodeStorageSource.
func (*ElasticsearchNodeStorageSource) DeepCopyInto ¶
func (in *ElasticsearchNodeStorageSource) DeepCopyInto(out *ElasticsearchNodeStorageSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchRequiredAction ¶
type ElasticsearchRequiredAction string
const ( ElasticsearchActionRollingRestartNeeded ElasticsearchRequiredAction = "RollingRestartNeeded" ElasticsearchActionFullRestartNeeded ElasticsearchRequiredAction = "FullRestartNeeded" ElasticsearchActionInterventionNeeded ElasticsearchRequiredAction = "InterventionNeeded" ElasticsearchActionNewClusterNeeded ElasticsearchRequiredAction = "NewClusterNeeded" ElasticsearchActionNone ElasticsearchRequiredAction = "ClusterOK" ElasticsearchActionScaleDownNeeded ElasticsearchRequiredAction = "ScaleDownNeeded" ElasticsearchActionStatusUpdateNeeded ElasticsearchRequiredAction = "StatusUpdateNeeded" )
type ElasticsearchSecure ¶
type ElasticsearchSecure struct { Disabled bool `json:"disabled"` Image string `json:"image,omitempty"` CertificatesSecret string `json:"certificatesSecret,omitempty"` }
ElasticsearchSecure struct represents security configuration of the cluster whether SearchGuard is enabled along with oauth-proxy sidecar
func (*ElasticsearchSecure) DeepCopy ¶
func (in *ElasticsearchSecure) DeepCopy() *ElasticsearchSecure
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ElasticsearchSecure.
func (*ElasticsearchSecure) DeepCopyInto ¶
func (in *ElasticsearchSecure) DeepCopyInto(out *ElasticsearchSecure)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ElasticsearchSpec ¶
type ElasticsearchSpec struct { // Fill me Nodes []ElasticsearchNode `json:"nodes"` Spec ElasticsearchNodeSpec `json:"nodeSpec"` Secure ElasticsearchSecure `json:"securityConfig"` ServiceAccountName string `json:"serviceAccountName,omitempty"` ConfigMapName string `json:"configMapName,omitempty"` }
ElasticsearchSpec struct represents the Spec of Elasticsearch cluster CRD
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 { // Fill me Nodes []ElasticsearchNodeStatus `json:"nodes"` K8sState ElasticsearchRequiredAction `json:"clusterState"` }
ElasticsearchStatus represents the status of Elasticsearch cluster
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.