vmi

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: UPL-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elastic

type Elastic struct {
	ClusterName string `json:"cluster_name"`
	// contains filtered or unexported fields
}

Elastic contains information about the Elasticsearch instance

func GetElastic

func GetElastic(binding string) *Elastic

GetElastic gets Elastic representing the elasticsearch cluster with the binding name

func (*Elastic) CheckIngress

func (e *Elastic) CheckIngress() bool

CheckIngress checks the Elasticsearch Ingress

func (*Elastic) CheckTLSSecret

func (e *Elastic) CheckTLSSecret() bool

CheckTLSSecret checks the Elasticsearch secret

func (*Elastic) Connect

func (e *Elastic) Connect() bool

Connect checks if the elasticsearch cluster can be connected

func (*Elastic) ListIndices

func (e *Elastic) ListIndices() []string

ListIndices lists elasticsearch indices

func (*Elastic) PodsRunning

func (e *Elastic) PodsRunning() bool

PodsRunning checks if all elasticsearch required pods are running

Jump to

Keyboard shortcuts

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