vantage6.cli.rabbitmq.queue_manager.RabbitMQManager#

class RabbitMQManager(ctx, network_mgr, image=None)#

Bases: object

Manages the RabbitMQ docker container

Parameters:
  • ctx (ServerContext) – Configuration object

  • network_mgr (NetworkManager) – Network manager for network in which server container resides

  • image (str) – Docker image to use for RabbitMQ container. By default, the image harbor2.vantage6.ai/infrastructure/rabbitmq is used.

__init__(ctx, network_mgr, image=None)#

Methods

__init__(ctx, network_mgr[, image])

is_running()

returns:

Whether the container has fully initialized RabbitMQ or not

start()

Start a docker container which runs a RabbitMQ queue

is_running()#
Returns:

Whether the container has fully initialized RabbitMQ or not

Return type:

bool

start()#

Start a docker container which runs a RabbitMQ queue

Return type:

None