Function etcd::members::add

source ·
pub fn add<C>(
    client: &Client<C>,
    peer_urls: Vec<String>
) -> Box<dyn Future<Item = Response<()>, Error = Vec<Error>>>where
    C: Clone + Connect,
Expand description

Adds a new member to the cluster.

Parameters

  • client: A Client to use to make the API call.
  • peer_urls: URLs exposing this cluster member’s peer API.