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,
String instanceCapSetting,
int timeout,
boolean useJenkinsProxySettings,
boolean ignoreSSLErrors,
List<? extends AddressMapper> mappings,
List<? extends AgentTemplate> templates) |
OrkaCloud(String name,
String credentialsId,
String endpoint,
String instanceCapSetting,
int timeout,
boolean useJenkinsProxySettings,
List<? extends AddressMapper> mappings,
List<? extends AgentTemplate> templates) |
OrkaCloud(String name,
String credentialsId,
String endpoint,
String instanceCapSetting,
int timeout,
int httpTimeout,
boolean useJenkinsProxySettings,
boolean ignoreSSLErrors,
boolean noDelayProvisioning,
List<? extends AddressMapper> mappings,
List<? extends AgentTemplate> templates) |
OrkaCloud(String name,
String credentialsId,
String endpoint,
String instanceCapSetting,
int timeout,
int httpTimeout,
boolean useJenkinsProxySettings,
boolean ignoreSSLErrors,
List<? extends AddressMapper> mappings,
List<? extends AgentTemplate> templates) |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvision(hudson.model.Label label) |
void |
deleteVM(String name,
String namespace) |
DeploymentResponse |
deployVM(String namespace,
String namePrefix,
String vmConfig,
String image,
Integer cpu,
String memory,
String scheduler,
String tag,
Boolean tagRequired,
Boolean netBoost,
Boolean legacyIO,
Boolean gpuPassThrough) |
String |
getCredentialsId() |
String |
getEndpoint() |
int |
getHttpTimeout() |
boolean |
getIgnoreSSLErrors() |
String |
getInstanceCapSetting() |
List<? extends AddressMapper> |
getMappings() |
boolean |
getNoDelayProvisioning() |
String |
getRealHost(String host) |
AgentTemplate |
getTemplate(hudson.model.Label label) |
List<? extends AgentTemplate> |
getTemplates() |
int |
getTimeout() |
boolean |
getUseJenkinsProxySettings() |
List<OrkaVMConfig> |
getVMConfigs() |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
protected Object |
readResolve() |
all, getACL, getDescriptor, getDisplayName, getSearchUrl, getUrl
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
public OrkaCloud(String name, String credentialsId, String endpoint, String instanceCapSetting, int timeout, boolean useJenkinsProxySettings, List<? extends AddressMapper> mappings, List<? extends AgentTemplate> templates)
public OrkaCloud(String name, String credentialsId, String endpoint, String instanceCapSetting, int timeout, boolean useJenkinsProxySettings, boolean ignoreSSLErrors, List<? extends AddressMapper> mappings, List<? extends AgentTemplate> templates)
public OrkaCloud(String name, String credentialsId, String endpoint, String instanceCapSetting, int timeout, int httpTimeout, boolean useJenkinsProxySettings, boolean ignoreSSLErrors, List<? extends AddressMapper> mappings, List<? extends AgentTemplate> templates)
@DataBoundConstructor public OrkaCloud(String name, String credentialsId, String endpoint, String instanceCapSetting, int timeout, int httpTimeout, boolean useJenkinsProxySettings, boolean ignoreSSLErrors, boolean noDelayProvisioning, List<? extends AddressMapper> mappings, List<? extends AgentTemplate> templates)
protected Object readResolve()
public String getCredentialsId()
public String getEndpoint()
public boolean getUseJenkinsProxySettings()
public boolean getIgnoreSSLErrors()
public String getInstanceCapSetting()
public int getTimeout()
public int getHttpTimeout()
public List<? extends AddressMapper> getMappings()
public List<? extends AgentTemplate> getTemplates()
public boolean getNoDelayProvisioning()
public boolean canProvision(hudson.model.Label label)
canProvision
in class hudson.slaves.Cloud
public AgentTemplate getTemplate(hudson.model.Label label)
public List<OrkaVMConfig> getVMConfigs() throws IOException
IOException
public DeploymentResponse deployVM(String namespace, String namePrefix, String vmConfig, String image, Integer cpu, String memory, String scheduler, String tag, Boolean tagRequired, Boolean netBoost, Boolean legacyIO, Boolean gpuPassThrough) throws IOException
IOException
public void deleteVM(String name, String namespace) throws IOException
IOException
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision
in class hudson.slaves.Cloud
Copyright © 2016–2024. All rights reserved.