Uses of Interface
io.patriot_framework.network_simulator.docker.container.Container
-
Packages that use Container Package Description io.patriot_framework.network_simulator.docker.container io.patriot_framework.network_simulator.docker.manager -
-
Uses of Container in io.patriot_framework.network_simulator.docker.container
Classes in io.patriot_framework.network_simulator.docker.container that implement Container Modifier and Type Class Description class
DockerContainer
Instance of DockerContainer representing informations which are required for work with container. -
Uses of Container in io.patriot_framework.network_simulator.docker.manager
Methods in io.patriot_framework.network_simulator.docker.manager that return Container Modifier and Type Method Description Container
DockerManager. createContainer(String name, String tag)
Container
DockerManager. createContainer(String name, String tag, String elasticIP, Integer logshtashPort)
Container
DockerManager. createContainer(String name, String tag, String elasticIP, Integer logstashPort, List<String> environmentVariables)
Create container container with elastic log hook.Container
DockerManager. createContainer(String name, String tag, String volumePath, String bindPath)
Create container container.Container
Manager. createContainer(String name, String tag)
Create container container.Methods in io.patriot_framework.network_simulator.docker.manager that return types with arguments of type Container Modifier and Type Method Description List<Container>
DockerManager. listContainers()
Method providing service for finding containers and return list of all created containersList<Container>
Manager. listContainers()
List containers list.Methods in io.patriot_framework.network_simulator.docker.manager with parameters of type Container Modifier and Type Method Description void
DockerManager. connectContainerToNetwork(Container container, Network network)
void
Manager. connectContainerToNetwork(Container container, Network network)
Connect container to network.void
DockerManager. destroyContainer(Container container)
Method which destroys docker network based on network id.void
Manager. destroyContainer(Container container)
Destroy container.void
DockerManager. disconnectContainer(Container container, Network network)
void
Manager. disconnectContainer(Container container, Network network)
Disconnects container from network.String
DockerManager. findIpAddress(Container container)
String
DockerManager. findIpAddress(Container container, Network network)
String
Manager. findIpAddress(Container container, Network network)
Find ip address string.String
DockerManager. getDefaultGwNetworkIp(Container container)
Integer
DockerManager. getDefaultGwNetworkMask(Container container)
Method gathers gateway's network mask.String
DockerManager. getGatewayIP(Container container)
void
DockerManager. killContainer(Container container)
void
Manager. killContainer(Container container)
Method stops container.void
DockerManager. runCommand(Container container, String command)
Method is providing execution of commands directly in running docker container.void
Manager. runCommand(Container container, String command)
Run command.void
DockerManager. startContainer(Container container)
Method which starts docker container based on container name.void
Manager. startContainer(Container container)
Start container.
-