public class OrkaCloud
extends hudson.slaves.Cloud
| Modifier and Type | Class and Description |
|---|---|
static class |
OrkaCloud.DescriptorImpl |
| Constructor and Description |
|---|
OrkaCloud(String name,
String credentialsId,
String endpoint,
List<? extends AgentTemplate> templates) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
ConfigurationResponse |
createConfiguration(String name,
String image,
String baseImage,
String configTemplate,
int cpuCount) |
void |
deleteVM(String name,
String node) |
DeploymentResponse |
deployVM(String name,
String node) |
String |
getCredentialsId() |
String |
getEndpoint() |
AgentTemplate |
getTemplate(hudson.model.Label label) |
List<? extends AgentTemplate> |
getTemplates() |
List<VMResponse> |
getVMs() |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
protected Object |
readResolve() |
all, checkPermission, getACL, getDescriptor, getDisplayName, getSearchUrl, hasPermission@DataBoundConstructor public OrkaCloud(String name, String credentialsId, String endpoint, List<? extends AgentTemplate> templates)
protected Object readResolve()
public String getCredentialsId()
public String getEndpoint()
public List<? extends AgentTemplate> getTemplates()
public boolean canProvision(hudson.model.Label label)
canProvision in class hudson.slaves.Cloudpublic AgentTemplate getTemplate(hudson.model.Label label)
public List<VMResponse> getVMs() throws IOException
IOExceptionpublic ConfigurationResponse createConfiguration(String name, String image, String baseImage, String configTemplate, int cpuCount) throws IOException
IOExceptionpublic DeploymentResponse deployVM(String name, String node) throws IOException
IOExceptionpublic void deleteVM(String name, String node) throws IOException
IOExceptionpublic Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision in class hudson.slaves.CloudCopyright © 2016–2019. All rights reserved.