Status

class consulate.api.status.Status(uri, adapter, datacenter=None, token=None)

Get information about the status of the Consul cluster. This are generally very low level, and not really useful for clients.

leader()

Get the Raft leader for the datacenter the agent is running in.

Return type:str
peers()

Get the Raft peers for the datacenter the agent is running in.

Return type:list