elasticsearch

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ElasticsearchAndSecret

type ElasticsearchAndSecret struct {
	elasticsearchv1.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 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) (*elasticsearchv1.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(sg *apistructs.ServiceGroup, scname string, affinity *corev1.NodeAffinity) elasticsearchv1.NodeSet

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

Jump to

Keyboard shortcuts

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