io.airlift.airship.coordinator.Provisioner Maven / Gradle / Ivy
The newest version!
package io.airlift.airship.coordinator;
import java.util.List;
public interface Provisioner
{
List listCoordinators();
List provisionCoordinators(String coordinatorConfigSpec,
int coordinatorCount,
String instanceType,
String availabilityZone,
String ami,
String keyPair,
String securityGroup);
List listAgents();
List provisionAgents(String agentConfig,
int agentCount,
String instanceType,
String availabilityZone,
String ami,
String keyPair,
String securityGroup);
void terminateAgents(Iterable instanceIds);
}