elasticsearch

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainersSettings

type ContainersSettings struct {
	Name      string                      `json:"name,omitempty"`
	Env       []corev1.EnvVar             `json:"env,omitempty"`
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}

type Elasticsearch

type Elasticsearch struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ElasticsearchSpec `json:"spec"`
}

type ElasticsearchAndSecret

type ElasticsearchAndSecret struct {
	Elasticsearch
	corev1.Secret
}

type ElasticsearchOperator

type ElasticsearchOperator struct {
	// contains filtered or unexported fields
}

func (*ElasticsearchOperator) Convert

func (eo *ElasticsearchOperator) Convert(sg *apistructs.ServiceGroup) interface{}

Convert Convert sg to cr, which is kubernetes yaml

func (*ElasticsearchOperator) Create

func (eo *ElasticsearchOperator) Create(k8syml interface{}) error

func (*ElasticsearchOperator) Get

func (eo *ElasticsearchOperator) Get(namespace, name string) (*Elasticsearch, error)

Get get elasticsearchs resource information

func (*ElasticsearchOperator) Inspect

func (*ElasticsearchOperator) IsSupported

func (eo *ElasticsearchOperator) IsSupported() bool

IsSupported Determine whether to support elasticseatch operator

func (*ElasticsearchOperator) NodeSetsConvert

func (eo *ElasticsearchOperator) NodeSetsConvert(svc apistructs.Service, scname string, affinity *corev1.NodeAffinity) NodeSetsSettings

func (*ElasticsearchOperator) Remove

func (*ElasticsearchOperator) Update

func (eo *ElasticsearchOperator) Update(k8syml interface{}) error

Update secret The update will not be performed, and a restart is required due to the update of the static password. (You can improve the multi-user authentication through the user management machine with perfect service)

func (*ElasticsearchOperator) Validate

Validate Verify the legality of the ServiceGroup transformed from diceyml

type ElasticsearchSpec

type ElasticsearchSpec struct {
	Http     HttpSettings       `json:"http,omitempty"`
	Version  string             `json:"version,omitempty"`
	Image    string             `json:"image,omitempty"`
	NodeSets []NodeSetsSettings `json:"nodeSets,omitempty"`
}

type HttpSettings

type HttpSettings struct {
	Tls TlsSettings `json:"tls,omitempty"`
}

HttpSettings

type NodeSetsSettings

type NodeSetsSettings struct {
	Name                 string                `json:"name,omitempty"`
	Count                int                   `json:"count,omitempty"`
	Config               map[string]string     `json:"config,omitempty"`
	PodTemplate          PodTemplateSettings   `json:"podTemplate,omitempty"`
	VolumeClaimTemplates []VolumeClaimSettings `json:"volumeClaimTemplates,omitempty"`
}

NodeSetsSettings

type PodSpecSettings

type PodSpecSettings struct {
	Affinity   *corev1.Affinity     `json:"affinity,omitempty"`
	Containers []ContainersSettings `json:"containers,omitempty"`
}

type PodTemplateSettings

type PodTemplateSettings struct {
	Spec PodSpecSettings `json:"spec,omitempty"`
}

type SelfSignedCertificateSettings

type SelfSignedCertificateSettings struct {
	Disabled bool `json:"disabled,omitempty"`
}

type TlsSettings

type TlsSettings struct {
	SelfSignedCertificate SelfSignedCertificateSettings `json:"selfSignedCertificate,omitempty"`
}

type VolumeClaimSettings

type VolumeClaimSettings struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VolumeClaimSpecSettings `json:"spec,omitempty"`
}

VolumeClaimSettings for ElasticsearchSpec NodeSetsSettings

type VolumeClaimSpecSettings

type VolumeClaimSpecSettings struct {
	AccessModes      []string                    `json:"accessModes,omitempty"`
	Resources        corev1.ResourceRequirements `json:"resources,omitempty"`
	StorageClassName string                      `json:"storageClassName,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL