Function etcd::members::update

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

Updates the peer URLs of a member of the cluster.

Parameters

  • client: A Client to use to make the API call.
  • id: The unique identifier of the member to update.
  • peer_urls: URLs exposing this cluster member’s peer API.