Uses of Class
dev.galasa.docker.DockerManagerException
-
Uses of DockerManagerException in dev.galasa.docker
Modifier and TypeMethodDescriptionIssue a command to a running container.Equivalent to exec(defaultResourceTimeout, commands...);void
Will execute a `chmod XXX filename` where the XXX is the permission string, on a file inside a volume.void
Will execute a `chown USER:GROUP filename` on a file inside the volume.long
IDockerContainer.getExitCode()
Retireves the exit code from the containerIDockerContainer.getExposedPorts()
Returns a map of all the exposed ports of the container and the real host ports they have been mapped to.boolean
IDockerContainer.isRunning()
Checks with the docker engine to find the running state of this container.void
IDockerVolume.LoadFile
(String fileName, InputStream data) Pre-populate a volume with some data.void
IDockerVolume.LoadFileAsString
(String fileName, String data) Pre-populate a volume with some string data.IDockerContainer.retrieveFile
(String path) Retreievs a InputStream of a file on the container.IDockerContainer.retrieveFileAsString
(String path) Retrieves a file from the container and passes the contents back as a string.IDockerContainer.retrieveStdErr()
Retrieve the full STDERR for the Docker ContainerIDockerContainer.retrieveStdOut()
Retrieve the full STDOUT for the Docker Containervoid
IDockerContainer.start()
Start the Docker Container.void
IDockerContainer.startWithConfig
(IDockerContainerConfig config) Start the Docker Container with a provided galasa DockerContainerConfig.void
IDockerContainer.stop()
Stop the Docker Container.void
IDockerContainer.storeFile
(String absolutePath, InputStream file) Stores a file onto the container.boolean
IDockerExec.waitForExec()
Equivlant to waitForExec(10000);boolean
IDockerExec.waitForExec
(long timeout) Wait for the command to finish. -
Uses of DockerManagerException in dev.galasa.docker.spi
Modifier and TypeMethodDescription@NotNull String
IDockerManagerSpi.getEngineHostname
(String dockerEngineTag) @NotNull IDockerContainer
IDockerManagerSpi.provisionContainer
(String dockerContainerTag, String image, boolean start, String dockerEngineTag) This method is able to provide the dockerContainer instance with a defined Dockerhub Container Tag