public class EC2FleetLabelCloud extends AbstractEC2FleetCloud
CloudNanny| Modifier and Type | Class and Description |
|---|---|
static class |
EC2FleetLabelCloud.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CLOUD_STATUS_INTERVAL_SEC |
static String |
EC2_INSTANCE_CLOUD_NAME_TAG |
static String |
EC2_INSTANCE_TAG_NAMESPACE |
static String |
FLEET_CLOUD_ID |
| Constructor and Description |
|---|
EC2FleetLabelCloud(String name,
String oldId,
String awsCredentialsId,
String region,
String endpoint,
String fleet,
String labelString,
String fsRoot,
hudson.slaves.ComputerConnector computerConnector,
boolean privateIpUsed,
boolean alwaysReconnect,
Integer idleMinutes,
Integer minSize,
Integer maxSize,
Integer numExecutors,
boolean restrictUsage,
boolean disableTaskResubmit,
Integer initOnlineTimeoutSec,
Integer initOnlineCheckIntervalSec,
boolean scaleExecutorsByWeight,
Integer cloudStatusIntervalSec,
boolean noDelayProvision,
String ec2KeyPairName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProvision(hudson.model.Label label) |
String |
getAwsCredentialsId() |
int |
getCloudStatusIntervalSec() |
hudson.slaves.ComputerConnector |
getComputerConnector() |
String |
getEc2KeyPairName() |
String |
getEndpoint() |
String |
getFsRoot() |
int |
getIdleMinutes() |
int |
getInitOnlineCheckIntervalSec() |
int |
getInitOnlineTimeoutSec() |
String |
getJvmSettings() |
Integer |
getMaxSize() |
Integer |
getMinSize() |
Integer |
getNumExecutors() |
String |
getOldId()
Called old as will be used by new instance of cloud, for
which this id is old (not current)
|
String |
getRegion() |
boolean |
isAlwaysReconnect() |
boolean |
isDisableTaskResubmit() |
boolean |
isNoDelayProvision() |
boolean |
isPrivateIpUsed() |
boolean |
isRestrictUsage() |
Collection<hudson.slaves.NodeProvisioner.PlannedNode> |
provision(hudson.model.Label label,
int excessWorkload) |
boolean |
scheduleToTerminate(String instanceId) |
void |
update() |
void |
updateStacks() |
all, getACL, getDescriptor, getDisplayName, getSearchUrl, getUrladdAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActionsgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic static final String EC2_INSTANCE_TAG_NAMESPACE
public static final String EC2_INSTANCE_CLOUD_NAME_TAG
public static final String FLEET_CLOUD_ID
public static final int DEFAULT_CLOUD_STATUS_INTERVAL_SEC
@DataBoundConstructor public EC2FleetLabelCloud(String name, String oldId, String awsCredentialsId, String region, String endpoint, String fleet, String labelString, String fsRoot, hudson.slaves.ComputerConnector computerConnector, boolean privateIpUsed, boolean alwaysReconnect, Integer idleMinutes, Integer minSize, Integer maxSize, Integer numExecutors, boolean restrictUsage, boolean disableTaskResubmit, Integer initOnlineTimeoutSec, Integer initOnlineCheckIntervalSec, boolean scaleExecutorsByWeight, Integer cloudStatusIntervalSec, boolean noDelayProvision, String ec2KeyPairName)
public String getEc2KeyPairName()
public boolean isNoDelayProvision()
public String getAwsCredentialsId()
public String getOldId()
getOldId in class AbstractEC2FleetCloudpublic boolean isDisableTaskResubmit()
isDisableTaskResubmit in class AbstractEC2FleetCloudpublic int getInitOnlineTimeoutSec()
public int getCloudStatusIntervalSec()
public int getInitOnlineCheckIntervalSec()
public String getRegion()
public String getEndpoint()
public String getFsRoot()
public hudson.slaves.ComputerConnector getComputerConnector()
public boolean isPrivateIpUsed()
public boolean isAlwaysReconnect()
isAlwaysReconnect in class AbstractEC2FleetCloudpublic int getIdleMinutes()
getIdleMinutes in class AbstractEC2FleetCloudpublic Integer getMaxSize()
public Integer getMinSize()
public Integer getNumExecutors()
public String getJvmSettings()
public boolean isRestrictUsage()
public Collection<hudson.slaves.NodeProvisioner.PlannedNode> provision(hudson.model.Label label, int excessWorkload)
provision in class hudson.slaves.Cloudpublic void update()
public boolean scheduleToTerminate(String instanceId)
scheduleToTerminate in class AbstractEC2FleetCloudpublic boolean canProvision(hudson.model.Label label)
canProvision in class hudson.slaves.Cloudpublic void updateStacks()
Copyright © 2016–2020. All rights reserved.