| Package | Description |
|---|---|
| com.atlassian.buildeng.ecs.scheduling |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultSchedulingCallback.handle(ECSException exception) |
void |
SchedulingCallback.handle(ECSException exception) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ArnStoppedState> |
AWSSchedulerBackend.checkStoppedTasks(String cluster,
List<String> taskArns) |
Collection<ArnStoppedState> |
SchedulerBackend.checkStoppedTasks(String cluster,
List<String> taskArns)
for given taskArn strings return an ArnStoppedState object for every taskArn
that is stopped or missing in the cluster.
|
com.amazonaws.services.autoscaling.model.AutoScalingGroup |
AWSSchedulerBackend.describeAutoScalingGroup(String autoScalingGroup)
describeAutoScalingGroup.
|
com.amazonaws.services.autoscaling.model.AutoScalingGroup |
SchedulerBackend.describeAutoScalingGroup(String autoScalingGroup)
describe autoscaling group of given name.
|
List<com.amazonaws.services.ecs.model.ContainerInstance> |
AWSSchedulerBackend.getClusterContainerInstances(String cluster) |
List<com.amazonaws.services.ecs.model.ContainerInstance> |
SchedulerBackend.getClusterContainerInstances(String cluster)
Get all owned container instances on a cluster.
|
List<com.amazonaws.services.ec2.model.Instance> |
AWSSchedulerBackend.getInstances(Collection<String> instanceIds) |
List<com.amazonaws.services.ec2.model.Instance> |
SchedulerBackend.getInstances(Collection<String> instanceIds)
get EC2 Instances for the passed ids.
|
DockerHosts |
ModelLoader.load(String clusterName,
String asgName) |
DockerHosts |
AwsPullModelLoader.load(String clusterName,
String asgName) |
int |
TaskDefinitionRegistrations.registerDockerImage(com.atlassian.buildeng.spi.isolated.docker.Configuration configuration,
BambooServerEnvironment env) |
void |
AWSSchedulerBackend.scaleTo(int desiredCapacity,
String autoScalingGroup) |
void |
SchedulerBackend.scaleTo(int desiredCapacity,
String autoScalingGroup)
scale the ASG to desired capacity.
|
SchedulingResult |
AWSSchedulerBackend.schedule(DockerHost dockerHost,
String cluster,
SchedulingRequest request,
String taskDefinition) |
SchedulingResult |
SchedulerBackend.schedule(DockerHost dockerHost,
String cluster,
SchedulingRequest req,
String taskDefinition) |
void |
AWSSchedulerBackend.suspendProcess(String autoScalingGroupName,
String processName) |
void |
SchedulerBackend.suspendProcess(String autoScalingGroupName,
String azRebalance) |
void |
AWSSchedulerBackend.terminateAndDetachInstances(List<DockerHost> hosts,
String asgName,
boolean decrementSize,
String clusterName) |
void |
SchedulerBackend.terminateAndDetachInstances(List<DockerHost> dockerHosts,
String autoScalingGroup,
boolean decrementSize,
String ecsClusterName)
terminate the listed EC2 instances and reduce the size of ASG by the given amount.
|
void |
AWSSchedulerBackend.terminateInstances(List<String> instanceIds) |
void |
SchedulerBackend.terminateInstances(List<String> instanceIds)
terminate listed EC2 instances.
|
| Constructor and Description |
|---|
DockerHost(com.amazonaws.services.ecs.model.ContainerInstance containerInstance,
com.amazonaws.services.ec2.model.Instance instance,
boolean inASG) |
Copyright © 2022 Atlassian Pty Ltd. All rights reserved.