public interface PlatformConnector
| Modifier and Type | Method and Description |
|---|---|
String |
createContainer(String imageName,
String[] envVariables,
ContainerStateObserver observer)
This method sends a
Commands.DOCKER_CONTAINER_START command to
create and start an instance of the given image using the given
environment variables. |
RabbitQueueFactory |
getFactoryForIncomingCmdQueues() |
RabbitQueueFactory |
getFactoryForIncomingDataQueues() |
RabbitQueueFactory |
getFactoryForOutgoingCmdQueues() |
RabbitQueueFactory |
getFactoryForOutgoingDataQueues() |
void |
stopContainer(String containerName)
This method sends a
Commands.DOCKER_CONTAINER_STOP command to
stop the container with the given id. |
String createContainer(String imageName, String[] envVariables, ContainerStateObserver observer)
Commands.DOCKER_CONTAINER_START command to
create and start an instance of the given image using the given
environment variables.imageName - the name of the image of the docker containerenvVariables - environment variables that should be added to the created
containerobserver - the container state observer that is called if the container
terminatesvoid stopContainer(String containerName)
Commands.DOCKER_CONTAINER_STOP command to
stop the container with the given id.containerName - the name of the container instance that should be stoppedRabbitQueueFactory getFactoryForOutgoingDataQueues()
RabbitQueueFactory getFactoryForIncomingDataQueues()
RabbitQueueFactory getFactoryForOutgoingCmdQueues()
RabbitQueueFactory getFactoryForIncomingCmdQueues()
Copyright © 2017–2018. All rights reserved.