Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker represents elasticsearch health check.
func NewChecker ¶
func NewChecker(client *elasticsearch.Client) *Checker
NewChecker creates the elasticsearch health check.
type Health ¶
type Health struct {
// contains filtered or unexported fields
}
Health represents elasticsearch health.
func NewHealthWithConfigPath ¶
NewHealthWithConfigPath returns a health with options from config path.
func NewHealthWithOptions ¶
NewHealthWithOptions returns a health with the options provided.
type Options ¶
Options represents health options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
Click to show internal directories.
Click to hide internal directories.