vmi

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opensearch added in v1.5.0

type Opensearch struct {
	ClusterName string            `json:"cluster_name"`
	EsVersion   OpensearchVersion `json:"version"`

	OperatorManaged bool
	// contains filtered or unexported fields
}

Opensearch contains information about the Opensearch instance

func GetOpensearch added in v1.5.0

func GetOpensearch(binding string, operatorManaged bool) *Opensearch

GetOpensearch gets Opensearch representing the opensearch cluster with the binding name

func (*Opensearch) CheckHealth added in v1.5.0

func (e *Opensearch) CheckHealth(kubeconfigPath string) bool

CheckHealth checks the health status of Opensearch cluster Returns true if the health status is green otherwise false

func (*Opensearch) CheckIndicesHealth added in v1.5.0

func (e *Opensearch) CheckIndicesHealth(kubeconfigPath string) bool

CheckIndicesHealth checks the health status of indices in a cluster Returns true if the health status of all the indices is green otherwise false

func (*Opensearch) CheckIngress added in v1.5.0

func (e *Opensearch) CheckIngress() bool

CheckIngress checks the Opensearch Ingress

func (*Opensearch) CheckTLSSecret added in v1.5.0

func (e *Opensearch) CheckTLSSecret() bool

CheckTLSSecret checks the Opensearch secret

func (*Opensearch) Connect added in v1.5.0

func (e *Opensearch) Connect() bool

Connect checks if the Opensearch cluster can be connected

func (*Opensearch) GetOSDIngressName added in v1.7.0

func (e *Opensearch) GetOSDIngressName() string

func (*Opensearch) GetOSIngressName added in v1.7.0

func (e *Opensearch) GetOSIngressName() string

func (*Opensearch) GetVmiHTTPClient added in v1.5.0

func (e *Opensearch) GetVmiHTTPClient(kubeconfigPath string) (*retryablehttp.Client, error)

func (*Opensearch) ListIndices added in v1.5.0

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

ListIndices lists Opensearch indices

func (*Opensearch) PodsRunning added in v1.5.0

func (e *Opensearch) PodsRunning() bool

PodsRunning checks if all opensearch required pods are running

type OpensearchVersion added in v1.5.0

type OpensearchVersion struct {
	Number       string `json:"number"`
	Distribution string `json:"distribution"`
}

OpensearchVersion contains information about the version of Opensearch instance

Jump to

Keyboard shortcuts

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