Uses of Class
io.jenkins.docker.client.DockerAPI
Packages that use DockerAPI
Package
Description
-
Uses of DockerAPI in com.nirima.jenkins.plugins.docker
Methods in com.nirima.jenkins.plugins.docker that return DockerAPIMethods in com.nirima.jenkins.plugins.docker with parameters of type DockerAPIModifier and TypeMethodDescriptionDockerTemplate.provisionNode(DockerAPI api, TaskListener listener) protected booleanDockerContainerWatchdog.stopAndRemoveContainer(DockerAPI dockerApi, org.slf4j.Logger aLogger, String description, boolean removeVolumes, String containerId, boolean stop) Constructors in com.nirima.jenkins.plugins.docker with parameters of type DockerAPIModifierConstructorDescriptionDockerCloud(String name, DockerAPI dockerApi, List<DockerTemplate> templates) -
Uses of DockerAPI in com.nirima.jenkins.plugins.docker.builder
Methods in com.nirima.jenkins.plugins.docker.builder that return DockerAPIModifier and TypeMethodDescriptionprotected DockerAPIDockerBuilderPublisher.getDockerAPI(Launcher launcher) -
Uses of DockerAPI in io.jenkins.docker
Methods in io.jenkins.docker that return DockerAPIMethods in io.jenkins.docker with parameters of type DockerAPIModifier and TypeMethodDescriptionvoidDockerTransientNode.setDockerAPI(DockerAPI dockerAPI) static booleanDockerTransientNode.stopAndRemoveContainer(DockerAPI api, org.slf4j.Logger logger, String containerDescription, boolean removeVolumes, String containerId, boolean containerAlreadyStopped) Utility method that gracefully terminates a docker container (preferably one that we started). -
Uses of DockerAPI in io.jenkins.docker.connector
Methods in io.jenkins.docker.connector with parameters of type DockerAPIModifier and TypeMethodDescriptionvoidDockerComputerConnector.afterContainerStarted(DockerAPI api, String workdir, DockerTransientNode node) Called once the container has started.voidDockerComputerAttachConnector.beforeContainerCreated(DockerAPI api, String workdir, com.github.dockerjava.api.command.CreateContainerCmd cmd) voidDockerComputerConnector.beforeContainerCreated(DockerAPI api, String workdir, com.github.dockerjava.api.command.CreateContainerCmd cmd) Called just before the container is created.voidDockerComputerJNLPConnector.beforeContainerCreated(DockerAPI api, String workdir, com.github.dockerjava.api.command.CreateContainerCmd cmd) voidDockerComputerSSHConnector.beforeContainerCreated(DockerAPI api, String workdir, com.github.dockerjava.api.command.CreateContainerCmd cmd) voidDockerComputerAttachConnector.beforeContainerStarted(DockerAPI api, String workdir, DockerTransientNode node) voidDockerComputerConnector.beforeContainerStarted(DockerAPI api, String workdir, DockerTransientNode node) Called once the container has been created but not started yet, that's a good opportunity to injectremoting.jarusingDockerComputerConnector.injectRemotingJar(String, String, DockerClient)voidDockerComputerJNLPConnector.beforeContainerStarted(DockerAPI api, String workdir, DockerTransientNode node) voidDockerComputerSSHConnector.beforeContainerStarted(DockerAPI api, String workdir, DockerTransientNode node) protected ComputerLauncherDockerComputerAttachConnector.createLauncher(DockerAPI api, String workdir, com.github.dockerjava.api.command.InspectContainerResponse inspect, TaskListener listener) protected abstract ComputerLauncherDockerComputerConnector.createLauncher(DockerAPI api, String workdir, com.github.dockerjava.api.command.InspectContainerResponse inspect, TaskListener listener) Create a Launcher to create an Agent with this container.final ComputerLauncherDockerComputerConnector.createLauncher(DockerAPI api, String containerId, String workdir, TaskListener listener) protected ComputerLauncherDockerComputerJNLPConnector.createLauncher(DockerAPI api, String workdir, com.github.dockerjava.api.command.InspectContainerResponse inspect, TaskListener listener) protected ComputerLauncherDockerComputerSSHConnector.createLauncher(DockerAPI api, String workdir, com.github.dockerjava.api.command.InspectContainerResponse inspect, TaskListener listener)