# 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.