public class AnkaMgmtCloud
extends hudson.slaves.Cloud
Modifier and Type | Class and Description |
---|---|
static class |
AnkaMgmtCloud.DescriptorImpl |
Constructor and Description |
---|
AnkaMgmtCloud(String ankaMgmtUrl,
String cloudName,
List<AnkaCloudSlaveTemplate> templates) |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvision(hudson.model.Label label) |
String |
getAnkaMgmtUrl() |
String |
getCloudName() |
List<NodeGroup> |
getNodeGroups() |
AnkaCloudSlaveTemplate |
getTemplate(hudson.model.Label label) |
AnkaCloudSlaveTemplate |
getTemplateFromLabel(hudson.model.Label label) |
List<AnkaCloudSlaveTemplate> |
getTemplates() |
List<String> |
getTemplateTags(String masterVmId) |
List<AnkaVmTemplate> |
listVmTemplates() |
static void |
Log(hudson.slaves.SlaveComputer slave,
hudson.model.TaskListener listener,
String format,
Object... args) |
static void |
Log(hudson.model.Slave slave,
hudson.model.TaskListener listener,
String msg) |
static void |
Log(String msg) |
static void |
Log(String format,
Object... args) |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
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
@DataBoundConstructor public AnkaMgmtCloud(String ankaMgmtUrl, String cloudName, List<AnkaCloudSlaveTemplate> templates)
public String getCloudName()
public String getAnkaMgmtUrl()
public List<AnkaVmTemplate> listVmTemplates()
public List<AnkaCloudSlaveTemplate> getTemplates()
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision
in class hudson.slaves.Cloud
public AnkaCloudSlaveTemplate getTemplate(hudson.model.Label label)
public boolean canProvision(hudson.model.Label label)
canProvision
in class hudson.slaves.Cloud
public AnkaCloudSlaveTemplate getTemplateFromLabel(hudson.model.Label label)
public static void Log(String msg)
public static void Log(hudson.model.Slave slave, hudson.model.TaskListener listener, String msg)
Copyright © 2016–2018. All rights reserved.