@Beta public class DockerComputerSSHLauncher extends DockerComputerLauncher
Modifier and Type | Class and Description |
---|---|
static class |
DockerComputerSSHLauncher.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
protected DockerSSHConnector |
sshConnector
store real UI configuration.
|
Constructor and Description |
---|
DockerComputerSSHLauncher(DockerSSHConnector sshConnector) |
Modifier and Type | Method and Description |
---|---|
void |
appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createCmd)
Contribute container parameters needed for launcher.
|
com.github.kostyasha.yad_docker_java.com.google.common.net.HostAndPort |
getHostAndPort(String cloudId,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse ir) |
DockerComputerLauncher |
getPreparedLauncher(String cloudId,
DockerSlaveTemplate dockerSlaveTemplate,
com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse inspect)
Return valid configured launcher that will be used for launching slave
|
DockerSSHConnector |
getSshConnector() |
void |
setSshConnector(DockerSSHConnector sshConnector) |
boolean |
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.
|
afterContainerCreate, setLauncher
afterDisconnect, beforeDisconnect, getLauncher, launch
protected DockerSSHConnector sshConnector
@DataBoundConstructor public DockerComputerSSHLauncher(DockerSSHConnector sshConnector)
public DockerSSHConnector getSshConnector()
public void setSshConnector(DockerSSHConnector sshConnector)
public DockerComputerLauncher getPreparedLauncher(String cloudId, DockerSlaveTemplate dockerSlaveTemplate, com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse inspect)
DockerComputerLauncher
getPreparedLauncher
in class DockerComputerLauncher
public void appendContainerConfig(DockerSlaveTemplate dockerSlaveTemplate, com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.CreateContainerCmd createCmd)
DockerComputerLauncher
appendContainerConfig
in class DockerComputerLauncher
public boolean waitUp(String cloudId, DockerSlaveTemplate dockerSlaveTemplate, com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse containerInspect)
DockerComputerLauncher
waitUp
in class DockerComputerLauncher
public com.github.kostyasha.yad_docker_java.com.google.common.net.HostAndPort getHostAndPort(String cloudId, com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.command.InspectContainerResponse ir)
Copyright © 2016–2020. All rights reserved.