Documentation
¶
Index ¶
- type Client
- func (c *Client) Health() (*es.HealthResponse, error)
- func (c *Client) NodeStats() (*es.ClusterStats, error)
- func (c *Client) Perform(req *http.Request) (*http.Response, error)
- func (c *Client) SearchMessages(index string, query string, messageKey string) (uint, []string, error)
- func (c *Client) Snapshot(repository string, snapshot string) (*es.SnapshotResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Health ¶
func (c *Client) Health() (*es.HealthResponse, error)
Health retrieves the Cluster's health state
func (*Client) NodeStats ¶
func (c *Client) NodeStats() (*es.ClusterStats, error)
NodeStats retrieves the Cluster's node statistics
func (*Client) Perform ¶ added in v1.0.0
Perform wraps the Client's HTTP call so that we can try all given nodes in case one node is not reachable
Click to show internal directories.
Click to hide internal directories.