public class DefaultDockerHostSource extends DockerHostSource
Modifier and Type | Class and Description |
---|---|
static class |
DefaultDockerHostSource.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint |
DEFAULT |
Constructor and Description |
---|
DefaultDockerHostSource() |
DefaultDockerHostSource(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerServerEndpoint) |
Modifier and Type | Method and Description |
---|---|
DockerHostConfig |
getDockerHost(hudson.model.Job job)
Allocate / Determine best Docker host to use to build this Job.
|
org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint |
getDockerServerEndpoint() |
public static final org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint DEFAULT
public DefaultDockerHostSource()
@DataBoundConstructor public DefaultDockerHostSource(org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint dockerServerEndpoint)
public org.jenkinsci.plugins.docker.commons.credentials.DockerServerEndpoint getDockerServerEndpoint()
public DockerHostConfig getDockerHost(hudson.model.Job job) throws IOException, InterruptedException
DockerHostSource
getDockerHost
in class DockerHostSource
IOException
InterruptedException
Copyright © 2016–2017. All rights reserved.