ExRabbitMQAdmin.GlobalParameter (ex_rabbitmq_admin v0.3.0)

Copy Markdown View Source

This module contains functions for interacting with RabbitMQ global parameters.

Summary

Functions

Delete a specific global parameter.

Get a specific global parameter.

Get a list of all global parameters.

Set a specific global parameter.

Functions

delete_global_parameter(client, name)

@spec delete_global_parameter(client :: Tesla.Client.t(), name :: String.t()) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

Delete a specific global parameter.

get_global_parameter(client, name)

@spec get_global_parameter(client :: Tesla.Client.t(), name :: String.t()) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

Get a specific global parameter.

list_global_parameters(client)

@spec list_global_parameters(client :: Tesla.Client.t()) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

Get a list of all global parameters.

put_global_parameter(client, name, value)

@spec put_global_parameter(
  client :: Tesla.Client.t(),
  name :: String.t(),
  value :: term()
) ::
  {:ok, Tesla.Env.t()} | {:error, term()}

Set a specific global parameter.