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
IOException
InterruptedException
public org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint getEndpoint()
public hudson.EnvVars getEnvironment()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2016–2017. All rights reserved.