@Beta public class DockerComputerSSHLauncher extends DockerComputerLauncher
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerComputerSSHLauncher.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
protected hudson.plugins.sshslaves.SSHConnector |
sshConnector |
launcher| Constructor and Description |
|---|
DockerComputerSSHLauncher(hudson.plugins.sshslaves.SSHConnector sshConnector) |
| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getAddressForSSHD(DockerCloud cloud,
com.github.dockerjava.api.command.InspectContainerResponse ir)
Given an inspected container, work out where we talk to the SSH daemon.
|
hudson.plugins.sshslaves.SSHConnector |
getSshConnector() |
protected static boolean |
usesSingleHostAbstraction(com.github.dockerjava.api.command.InspectContainerResponse inspect)
Checks a
InspectContainerResponse object to see if the server
uses a single host abstraction model. |
getLauncher, setLauncher, waitUp@DataBoundConstructor public DockerComputerSSHLauncher(hudson.plugins.sshslaves.SSHConnector sshConnector)
public hudson.plugins.sshslaves.SSHConnector getSshConnector()
public InetSocketAddress getAddressForSSHD(DockerCloud cloud, com.github.dockerjava.api.command.InspectContainerResponse ir)
protected static boolean usesSingleHostAbstraction(com.github.dockerjava.api.command.InspectContainerResponse inspect)
Checks a InspectContainerResponse object to see if the server
uses a single host abstraction model. If it does, then we return
true.
A Docker single host abstraction is when an entire fleet of provisional resources are presented as if they reside on a single host, but in fact they do not. This allows a user to elastically provision as many resources as they want without having to worry about filling up a single host system.
inspect - response from Docker APICopyright © 2016–2017. All rights reserved.