elasticsearch

package
v0.0.0-...-1bc13c6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewElasticsearchCR

func NewElasticsearchCR(logStore *logging.LogStoreSpec, namespace, name, logstoreSecretName string, existing *elasticsearch.Elasticsearch, ownerRef metav1.OwnerReference) *elasticsearch.Elasticsearch

func NewEmptyElasticsearchCR

func NewEmptyElasticsearchCR(namespace, name, logstoreSecretName string) *elasticsearch.Elasticsearch

func Reconcile

func Reconcile(reader client.Reader, k8sClient client.Client, logStore *logging.LogStoreSpec, namespace, logstoreSecretName string, ownerRef v1.OwnerReference, fetchClusterLogging func() (*logging.ClusterLogging, error)) error

func ReconcileCustomResource

func ReconcileCustomResource(k8sClient client.Client, logStore *logging.LogStoreSpec, namespace, logstoreSecretName string, ownerRef v1.OwnerReference) (err error)

func Remove

func Remove(k8sClient client.Client, namespace, logstoreSecretName string) (err error)

func RemoveCustomResource

func RemoveCustomResource(k8sClient client.Client, namespace, name, logstoreSecretName string) (err error)

func StatusAreSame

func StatusAreSame(lhs, rhs []logging.ElasticsearchStatus) bool

func UpdateStatus

func UpdateStatus(reader client.Reader, k8sClient client.Client, namespace string, fetchClusterLogging func() (*logging.ClusterLogging, error)) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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