public class HeliosSoloDeployment extends Object implements HeliosDeployment
Modifier and Type | Class and Description |
---|---|
static class |
HeliosSoloDeployment.Builder |
Modifier and Type | Field and Description |
---|---|
static String |
BOOT2DOCKER_SIGNATURE |
static String |
HELIOS_CONTAINER_PREFIX |
static String |
HELIOS_ID_SUFFIX |
static int |
HELIOS_MASTER_PORT |
static String |
HELIOS_NAME_SUFFIX |
static String |
HELIOS_SOLO_PROFILE |
static String |
HELIOS_SOLO_PROFILES |
static String |
PROBE_IMAGE |
Modifier and Type | Method and Description |
---|---|
com.google.common.net.HostAndPort |
address()
Returns the host and port information that the deployment is available at.
|
String |
agentName() |
static HeliosSoloDeployment.Builder |
builder() |
static HeliosSoloDeployment.Builder |
builder(String profile) |
HeliosClient |
client() |
void |
close()
Undeploy (shut down) this HeliosSoloDeployment.
|
static HeliosSoloDeployment.Builder |
fromEnv() |
static HeliosSoloDeployment.Builder |
fromEnv(String profile) |
String |
heliosContainerId() |
String |
toString() |
protected void |
undeployLeftoverJobs()
Undeploy jobs left over by
TemporaryJobs . |
public static final String BOOT2DOCKER_SIGNATURE
public static final String PROBE_IMAGE
public static final String HELIOS_NAME_SUFFIX
public static final String HELIOS_ID_SUFFIX
public static final String HELIOS_CONTAINER_PREFIX
public static final String HELIOS_SOLO_PROFILE
public static final String HELIOS_SOLO_PROFILES
public static final int HELIOS_MASTER_PORT
public com.google.common.net.HostAndPort address()
HeliosDeployment
address
in interface HeliosDeployment
public String agentName()
public HeliosClient client()
client
in interface HeliosDeployment
public String heliosContainerId()
public void close()
close
in interface HeliosDeployment
close
in interface AutoCloseable
protected void undeployLeftoverJobs()
TemporaryJobs
. TemporaryJobs should clean these up,
but sometimes a few are left behind for whatever reason.public static HeliosSoloDeployment.Builder builder()
public static HeliosSoloDeployment.Builder builder(String profile)
profile
- A configuration profile used to populate builder options.public static HeliosSoloDeployment.Builder fromEnv()
DOCKER_HOST
and DOCKER_CERT_PATH
environment variables, or
sensible defaults if they are absent.public static HeliosSoloDeployment.Builder fromEnv(String profile)
profile
- A configuration profile used to populate builder options.DOCKER_HOST
and DOCKER_CERT_PATH
environment variables, or
sensible defaults if they are absent.Copyright © 2018. All rights reserved.