Package it.dockins.dockerslaves.spi
Class DockerHostConfig
java.lang.Object
it.dockins.dockerslaves.spi.DockerHostConfig
- All Implemented Interfaces:
Closeable,AutoCloseable
Configuration options used to access a specific (maybe dedicated to a build) Docker Host.
Intent here is to allow some infrastructure plugin to prepare a dedicated Docker Host per build, using some higher level isolation, so the build is safe to do whatever it needs with it's docker daemon without risk to impact other builds.
- Author:
- Nicolas De Loof
-
Constructor Summary
ConstructorsConstructorDescriptionDockerHostConfig(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint endpoint, Item context) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint
-
Constructor Details
-
DockerHostConfig
public DockerHostConfig(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint endpoint, Item context) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
-
Method Details
-
getEndpoint
public org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint getEndpoint() -
getEnvironment
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-