Package | Description |
---|---|
com.github.kostyasha.yad | |
com.github.kostyasha.yad.commons | |
com.github.kostyasha.yad.launcher |
Modifier and Type | Field and Description |
---|---|
protected DockerSlaveTemplate |
DockerSlave.dockerSlaveTemplate
copy of container setting
|
Modifier and Type | Method and Description |
---|---|
DockerSlaveTemplate |
DockerSlave.getDockerSlaveTemplate() |
Modifier and Type | Method and Description |
---|---|
int |
DockerCloud.countCurrentDockerSlaves(DockerSlaveTemplate template)
Counts the number of instances in Docker currently running that are using the specified template.
|
protected static boolean |
DockerProvisioningStrategy.notAllowedStrategy(DockerSlaveTemplate template)
Exclude unknown mix of configuration.
|
String |
DockerCloud.runContainer(DockerSlaveTemplate slaveTemplate)
Run docker container for given template
|
void |
DockerSlave.setDockerSlaveTemplate(DockerSlaveTemplate dockerSlaveTemplate) |
Constructor and Description |
---|
DockerSlave(String slaveName,
String nodeDescription,
hudson.slaves.ComputerLauncher launcher,
String containerId,
DockerSlaveTemplate dockerSlaveTemplate,
String cloudId,
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id provisioningId) |
Constructor and Description |
---|
DockerCloud(String name,
List<DockerSlaveTemplate> templates,
int containerCap,
DockerConnector connector) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<DockerSlaveTemplate,Integer> |
AbstractCloud.provisionedImages
Track the count per image name for images currently being
provisioned, but not necessarily reported yet by docker.
|
protected List<DockerSlaveTemplate> |
AbstractCloud.templates |
Modifier and Type | Method and Description |
---|---|
DockerSlaveTemplate |
AbstractCloud.getTemplate(hudson.model.Label label)
Gets first
DockerSlaveTemplate that has the matching Label . |
DockerSlaveTemplate |
AbstractCloud.getTemplate(String template) |
DockerSlaveTemplate |
AbstractCloud.getTemplateById(String id) |
Modifier and Type | Method and Description |
---|---|
List<DockerSlaveTemplate> |
AbstractCloud.getTemplates() |
List<DockerSlaveTemplate> |
AbstractCloud.getTemplates(hudson.model.Label label)
Multiple templates may have the same label.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCloud.addTemplate(DockerSlaveTemplate t)
Add a new template to the cloud
|
protected void |
AbstractCloud.decrementAmiSlaveProvision(DockerSlaveTemplate container)
Decrease the count of slaves being "provisioned".
|
void |
AbstractCloud.removeTemplate(DockerSlaveTemplate t)
Remove slave template
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractCloud.setTemplates(List<DockerSlaveTemplate> replaceTemplates)
Set list of available templates
|
Modifier and Type | Method and Description |
---|---|
abstract void |
DockerComputerLauncher.appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createContainerCmd)
Contribute container parameters needed for launcher.
|
void |
DockerComputerJNLPLauncher.appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createContainerCmd) |
void |
DockerComputerSSHLauncher.appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createCmd) |
void |
DockerComputerIOLauncher.appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createContainerCmd) |
abstract DockerComputerLauncher |
DockerComputerLauncher.getPreparedLauncher(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse ir)
Return valid configured launcher that will be used for launching slave
|
DockerComputerLauncher |
DockerComputerJNLPLauncher.getPreparedLauncher(String cloudId,
DockerSlaveTemplate template,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse containerInspectResponse)
Clone object.
|
DockerComputerLauncher |
DockerComputerSSHLauncher.getPreparedLauncher(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse inspect) |
DockerComputerLauncher |
DockerComputerIOLauncher.getPreparedLauncher(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse ir) |
boolean |
DockerComputerLauncher.waitUp(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse containerInspect)
Wait until slave is up and ready for connection.
|
boolean |
DockerComputerJNLPLauncher.waitUp(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse ir) |
boolean |
DockerComputerSSHLauncher.waitUp(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse containerInspect) |
Copyright © 2016–2020. All rights reserved.