public class CliHyperDriver extends Object implements ContainerDriver
| 构造器和说明 |
|---|
CliHyperDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkImageExists(hudson.Launcher launcher,
String image) |
ContainerInstance |
createAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer,
hudson.Launcher launcher,
String image,
String size) |
hudson.Proc |
execInSlaveContainer(hudson.Launcher launcher,
String containerId,
hudson.Launcher.ProcStarter starter) |
boolean |
hasContainer(hudson.Launcher launcher,
String id) |
void |
prependDockerArgs(hudson.util.ArgumentListBuilder args) |
void |
prependHyperArgs(hudson.util.ArgumentListBuilder args) |
void |
pullImage(hudson.Launcher launcher,
String image) |
int |
removeContainer(hudson.Launcher launcher,
ContainerInstance instance) |
public CliHyperDriver()
throws IOException,
InterruptedException
public boolean hasContainer(hudson.Launcher launcher,
String id)
throws IOException,
InterruptedException
hasContainer 在接口中 ContainerDriverIOExceptionInterruptedExceptionpublic ContainerInstance createAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer, hudson.Launcher launcher, String image, String size) throws IOException, InterruptedException
public hudson.Proc execInSlaveContainer(hudson.Launcher launcher,
String containerId,
hudson.Launcher.ProcStarter starter)
throws IOException,
InterruptedException
execInSlaveContainer 在接口中 ContainerDriverIOExceptionInterruptedExceptionpublic int removeContainer(hudson.Launcher launcher,
ContainerInstance instance)
throws IOException,
InterruptedException
removeContainer 在接口中 ContainerDriverIOExceptionInterruptedExceptionpublic void pullImage(hudson.Launcher launcher,
String image)
throws IOException,
InterruptedException
pullImage 在接口中 ContainerDriverIOExceptionInterruptedExceptionpublic boolean checkImageExists(hudson.Launcher launcher,
String image)
throws IOException,
InterruptedException
checkImageExists 在接口中 ContainerDriverIOExceptionInterruptedExceptionpublic void prependDockerArgs(hudson.util.ArgumentListBuilder args)
public void prependHyperArgs(hudson.util.ArgumentListBuilder args)
Copyright © 2016–2018. All rights reserved.