Module gluster::peer [] [src]

Structs

Peer

A Gluster Peer. A Peer is roughly equivalent to a server in Gluster.

Enums

State

A enum representing the possible States that a Peer can be in

Functions

get_peer

This will query the Gluster peer list and return a Peer struct for the peer

peer_list

Runs gluster pool list and returns a Vec representing all the peers in the cluster This also returns information for the localhost as a Peer. peer_status() does not

peer_probe

Adds a new peer to the cluster by hostname or ip address

peer_remove

Removes a peer from the cluster by hostname or ip address

peer_status

Runs gluster peer status and returns a Vec representing all the peers in the cluster