public class DockerHostConfig extends Object implements Closeable
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.
| Constructor and Description |
|---|
DockerHostConfig(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint endpoint,
hudson.model.Item context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint |
getEndpoint() |
hudson.EnvVars |
getEnvironment() |
public DockerHostConfig(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint endpoint,
hudson.model.Item context)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint getEndpoint()
public hudson.EnvVars getEnvironment()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016–2017. All rights reserved.