public class DockerCloud
extends hudson.slaves.Cloud
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerCloud.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOUD_ID_PREFIX |
String |
serverUrl |
List<? extends DockerTemplate> |
templates |
| Constructor and Description |
|---|
DockerCloud(String name,
List<? extends DockerTemplate> templates,
String serverUrl,
String instanceCapStr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
com.kpelykh.docker.client.DockerClient |
connect()
Connects to Docker.
|
DockerTemplate |
getTemplate(hudson.model.Label label)
Gets
SlaveTemplate that has the matching Label. |
DockerTemplate |
getTemplate(String template) |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
protected Object |
readResolve() |
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermissionpublic static final String CLOUD_ID_PREFIX
public final List<? extends DockerTemplate> templates
public final String serverUrl
@DataBoundConstructor public DockerCloud(String name, List<? extends DockerTemplate> templates, String serverUrl, String instanceCapStr)
protected Object readResolve()
public com.kpelykh.docker.client.DockerClient connect()
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision in class hudson.slaves.Cloudpublic boolean canProvision(hudson.model.Label label)
canProvision in class hudson.slaves.Cloudpublic DockerTemplate getTemplate(String template)
public DockerTemplate getTemplate(hudson.model.Label label)
SlaveTemplate that has the matching Label.Copyright © 2004-2014. All Rights Reserved.