Class ContainerDslRule
java.lang.Object
org.arquillian.cube.docker.junit.rule.ContainerDslRule
- All Implemented Interfaces:
org.junit.rules.TestRule
-
Constructor Summary
ConstructorsConstructorDescriptionContainerDslRule(File directory, String imageId) ContainerDslRule(String image) ContainerDslRule(String image, String id) ContainerDslRule(org.jboss.shrinkwrap.api.Archive<?> buildDirectory, String imageId) -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description) intgetBindPort(int exposedPort) getLog()withAwaitStrategy(Await awaitStrategy) withCommand(String command) withCommand(String... command) withEnvironment(String key, Object value, Object... keyValues) withExposedPorts(Integer... ports) withExposedPorts(String... ports) withNetworkMode(String networkMode) withNetworkMode(NetworkDslRule networkMode) withNetworks(String... networks) withPortBinding(Integer... ports) withPortBinding(String... ports) withPriviledgedMode(boolean mode) withVolume(String hostPath, String containerPath) withVolume(String hostPath, String containerPath, BindMode bindMode)
-
Constructor Details
-
ContainerDslRule
-
ContainerDslRule
-
ContainerDslRule
-
ContainerDslRule
-
-
Method Details
-
withExposedPorts
-
withExposedPorts
-
withPortBinding
-
withPortBinding
-
withEnvironment
-
withCommand
-
withCommand
-
withVolume
-
withVolume
-
withNetworkMode
-
withNetworkMode
-
withNetworks
-
withPriviledgedMode
-
withLink
-
withLink
-
withAwaitStrategy
-
getIpAddress
-
getBindPort
public int getBindPort(int exposedPort) -
getLog
-
exec
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-