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"` EsVersion ElasticVersion `json:"version"` // contains filtered or unexported fields }
Elastic contains information about the Elasticsearch instance
func GetElastic ¶
GetElastic gets Elastic representing the elasticsearch cluster with the binding name
func (*Elastic) CheckHealth ¶ added in v1.1.0
CheckHealth checks the health status of Elasticsearch cluster Returns true if the health status is green otherwise false
func (*Elastic) CheckIndicesHealth ¶ added in v1.1.0
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 (*Elastic) CheckIngress ¶
CheckIngress checks the Elasticsearch Ingress
func (*Elastic) CheckTLSSecret ¶
CheckTLSSecret checks the Elasticsearch secret
func (*Elastic) ListIndices ¶
ListIndices lists elasticsearch indices
func (*Elastic) PodsRunning ¶
PodsRunning checks if all elasticsearch required pods are running
type ElasticVersion ¶ added in v1.1.0
type ElasticVersion struct { Number string `json:"number"` BuildFlavor string `json:"build_flavor"` }
ElasticVersion contains information about the version of Elasticsearch instance