public interface ContainerDriver
限定符和类型 | 方法和说明 |
---|---|
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 |
pullImage(hudson.Launcher launcher,
String image) |
int |
removeContainer(hudson.Launcher launcher,
ContainerInstance instance) |
boolean hasContainer(hudson.Launcher launcher, String id) throws IOException, InterruptedException
ContainerInstance createAndLaunchSlaveContainer(hudson.slaves.SlaveComputer computer, hudson.Launcher launcher, String image, String size) throws IOException, InterruptedException
hudson.Proc execInSlaveContainer(hudson.Launcher launcher, String containerId, hudson.Launcher.ProcStarter starter) throws IOException, InterruptedException
int removeContainer(hudson.Launcher launcher, ContainerInstance instance) throws IOException, InterruptedException
void pullImage(hudson.Launcher launcher, String image) throws IOException, InterruptedException
boolean checkImageExists(hudson.Launcher launcher, String image) throws IOException, InterruptedException
Copyright © 2016–2018. All rights reserved.