public class CliHyperDriver extends Object implements HyperDriver
| Constructor and Description |
|---|
CliHyperDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkImageExists(hudson.Launcher launcher,
String image) |
ContainerInstance |
createAndLaunchBuildContainer(hudson.Launcher launcher,
String image) |
int |
execInContainer(hudson.Launcher launcher,
String containerId,
String commands) |
void |
prependArgs(hudson.util.ArgumentListBuilder args) |
void |
pullImage(hudson.Launcher launcher,
String image) |
int |
removeContainer(hudson.Launcher launcher,
String containerId) |
public ContainerInstance createAndLaunchBuildContainer(hudson.Launcher launcher, String image) throws IOException, InterruptedException
createAndLaunchBuildContainer in interface HyperDriverIOExceptionInterruptedExceptionpublic int execInContainer(hudson.Launcher launcher,
String containerId,
String commands)
throws IOException,
InterruptedException
execInContainer in interface HyperDriverIOExceptionInterruptedExceptionpublic int removeContainer(hudson.Launcher launcher,
String containerId)
throws IOException,
InterruptedException
removeContainer in interface HyperDriverIOExceptionInterruptedExceptionpublic void pullImage(hudson.Launcher launcher,
String image)
throws IOException,
InterruptedException
pullImage in interface HyperDriverIOExceptionInterruptedExceptionpublic boolean checkImageExists(hudson.Launcher launcher,
String image)
throws IOException,
InterruptedException
checkImageExists in interface HyperDriverIOExceptionInterruptedExceptionpublic void prependArgs(hudson.util.ArgumentListBuilder args)
Copyright © 2016. All rights reserved.