package
0.0.3
Repository: https://github.com/useproject/origin-elastic.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetClusterID fetches cluster id for given nodeID.
GetInfo returns the data for the Elasticsearch / endpoint.
IsMaster checks if the given node host is a master node The detection of the master is done in two steps: * Fetch node name from /_nodes/_local/name * Fetch current master name from cluster state /_cluster/state/master_node The two names are compared.

# Structs

Info construct contains the data from the Elasticsearch / endpoint.