public class RandomLeastLoadedDockerCloudOrder extends DockerCloudOrder
Modifier and Type | Class and Description |
---|---|
static class |
RandomLeastLoadedDockerCloudOrder.DescriptorImpl |
DockerCloudOrder.DockerCloudOrderDescriptor
Constructor and Description |
---|
RandomLeastLoadedDockerCloudOrder() |
Modifier and Type | Method and Description |
---|---|
protected List<DockerCloud> |
getAvailableDockerClouds(hudson.model.Label label)
Get a list of available DockerCloud clouds which are not at max
capacity.
|
List<DockerCloud> |
getDockerClouds(hudson.model.Label label)
List of clouds that will be used for provisioning attempt one by one.
|
getDescriptor
@DataBoundConstructor public RandomLeastLoadedDockerCloudOrder()
@Nonnull public List<DockerCloud> getDockerClouds(hudson.model.Label label)
DockerCloudOrder
getDockerClouds
in class DockerCloudOrder
protected List<DockerCloud> getAvailableDockerClouds(hudson.model.Label label)
label
- A label expression of a Job Run requiring an executor.Copyright © 2016–2020. All rights reserved.