Source code for consul.api.operator

from consul.callback import CB


[docs] class Operator: def __init__(self, agent) -> None: self.agent = agent
[docs] def raft_config(self): """ Returns raft configuration. """ return self.agent.http.get(CB.json(), "/v1/operator/raft/configuration")