etcd.server_ops module¶
- class etcd.server_ops.ServerOps(client)[source]¶
Bases: etcd.common_ops.CommonOps
Functions that query the server for cluster-level information.
- get_dashboard_url()[source]¶
Return the URL for the dashboard on the server currently connected- to.
Returns: URL Return type: string
- get_leader_url_prefix()[source]¶
Return the URL prefix of the leader host.
Returns: URL prefix Return type: string
- get_machines()[source]¶
Return the list of servers in the cluster represented as nodes.
Returns: Response object Return type: etcd.response.ResponseV2