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,
String credentialsId,
String rootCA,
boolean skipTLSVerification,
List<AnkaCloudSlaveTemplate> templates) |
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 String getCredentialsId()
public void setSaveImageRequest(String buildId, SaveImageRequest request)
public List<SaveImageRequest> getSaveImageRequests(String buildId)
public String getCloudName()
public String getAnkaMgmtUrl()
public boolean getSkipTLSVerification()
public String getRootCA()
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)
public static void Log(hudson.slaves.SlaveComputer slave, hudson.model.TaskListener listener, String format, Object... args)
public AnkaAPI getAnkaApi()
public boolean isOnline()
public Boolean isPushSupported()
public static List<AnkaMgmtCloud> getAnkaClouds()
public static AnkaMgmtCloud getCloudThatHasImage(String masterVMID)
public AnkaOnDemandSlave StartNewDynamicSlave(DynamicSlaveProperties properties, String label) throws InterruptedException, IOException, hudson.model.Descriptor.FormException, AnkaMgmtException, ExecutionException
InterruptedException
IOException
hudson.model.Descriptor.FormException
AnkaMgmtException
ExecutionException
Copyright © 2016–2019. All rights reserved.