| Package | Description |
|---|---|
| com.spotify.helios.client | |
| com.spotify.helios.common.descriptors | |
| com.spotify.helios.common.protocol |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Map<JobId,Job>> |
HeliosClient.jobs() |
com.google.common.util.concurrent.ListenableFuture<Map<JobId,Job>> |
HeliosClient.jobs(String query) |
com.google.common.util.concurrent.ListenableFuture<Map<JobId,JobStatus>> |
HeliosClient.jobStatuses(Set<JobId> jobs) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<JobDeleteResponse> |
HeliosClient.deleteJob(JobId id) |
com.google.common.util.concurrent.ListenableFuture<JobDeleteResponse> |
HeliosClient.deleteJob(JobId id,
String token) |
com.google.common.util.concurrent.ListenableFuture<Deployment> |
HeliosClient.deployment(String host,
JobId job) |
com.google.common.util.concurrent.ListenableFuture<TaskStatusEvents> |
HeliosClient.jobHistory(JobId jobId) |
com.google.common.util.concurrent.ListenableFuture<JobStatus> |
HeliosClient.jobStatus(JobId jobId) |
com.google.common.util.concurrent.ListenableFuture<RollingUpdateResponse> |
HeliosClient.rollingUpdate(String deploymentGroupName,
JobId job,
RolloutOptions options) |
com.google.common.util.concurrent.ListenableFuture<JobUndeployResponse> |
HeliosClient.undeploy(JobId jobId,
String host) |
com.google.common.util.concurrent.ListenableFuture<JobUndeployResponse> |
HeliosClient.undeploy(JobId jobId,
String host,
String token) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Map<JobId,JobStatus>> |
HeliosClient.jobStatuses(Set<JobId> jobs) |
| Modifier and Type | Field and Description |
|---|---|
static JobId |
DeploymentGroup.EMPTY_JOB_ID |
| Modifier and Type | Method and Description |
|---|---|
JobId |
JobId.Builder.build() |
static JobId |
JobId.fromString(String id)
Parse a job id string.
|
JobId |
Job.getId() |
JobId |
Deployment.getJobId() |
JobId |
DeploymentGroup.getJobId() |
JobId |
DeploymentGroup.Builder.getJobId() |
static JobId |
JobId.parse(String id)
Parse a job id string.
|
| Modifier and Type | Method and Description |
|---|---|
Map<JobId,Deployment> |
HostStatus.getJobs() |
Map<JobId,TaskStatus> |
HostStatus.getStatuses() |
| Modifier and Type | Method and Description |
|---|---|
int |
JobId.compareTo(JobId jobId) |
static Deployment |
Deployment.of(JobId jobId,
Goal goal) |
static Deployment |
Deployment.of(JobId jobId,
Goal goal,
String deployerUser) |
static Deployment |
Deployment.of(JobId jobId,
Goal goal,
String deployerUser,
String deployerMaster,
String deploymentGroupName) |
Deployment.Builder |
Deployment.Builder.setJobId(JobId jobId) |
DeploymentGroup.Builder |
DeploymentGroup.Builder.setJobId(JobId jobId) |
| Modifier and Type | Method and Description |
|---|---|
HostStatus.Builder |
HostStatus.Builder.setJobs(Map<JobId,Deployment> jobs) |
HostStatus.Builder |
HostStatus.Builder.setStatuses(Map<JobId,TaskStatus> statuses) |
| Constructor and Description |
|---|
Deployment(JobId jobId,
Goal goal,
String deployerUser,
String deployerMaster,
String deploymentGroupName)
Constructor
|
DeploymentGroup(String name,
List<HostSelector> hostSelectors,
JobId jobId,
RolloutOptions rolloutOptions,
DeploymentGroup.RollingUpdateReason reason)
Create a Job.
|
Job(JobId id,
String image,
String hostname,
Long created,
List<String> command,
Map<String,String> env,
Resources resources,
Map<String,PortMapping> ports,
Map<ServiceEndpoint,ServicePorts> registration,
Integer gracePeriod,
Map<String,String> volumes,
Date expires,
String registrationDomain,
String creatingUser,
String token,
HealthCheck healthCheck,
List<String> securityOpt,
String networkMode,
Map<String,String> metadata,
Set<String> addCapabilities,
Set<String> dropCapabilities,
Integer secondsToWaitBeforeKill)
Create a Job.
|
| Constructor and Description |
|---|
HostStatus(Map<JobId,Deployment> jobs,
Map<JobId,TaskStatus> statuses,
HostStatus.Status status,
HostInfo hostInfo,
AgentInfo agentInfo,
Map<String,String> environment,
Map<String,String> labels)
Constructor.
|
HostStatus(Map<JobId,Deployment> jobs,
Map<JobId,TaskStatus> statuses,
HostStatus.Status status,
HostInfo hostInfo,
AgentInfo agentInfo,
Map<String,String> environment,
Map<String,String> labels)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
JobId |
SetGoalResponse.getJob() |
JobId |
JobUndeployResponse.getJob() |
JobId |
JobDeployResponse.getJob() |
JobId |
RollingUpdateRequest.getJob() |
JobId |
DeploymentGroupStatusResponse.HostStatus.getJobId() |
| Constructor and Description |
|---|
HostStatus(String host,
JobId jobId,
TaskStatus.State state) |
JobDeployResponse(JobDeployResponse.Status status,
String host,
JobId job) |
JobUndeployResponse(JobUndeployResponse.Status status,
String host,
JobId job) |
RollingUpdateRequest(JobId job,
RolloutOptions rolloutOptions) |
SetGoalResponse(SetGoalResponse.Status status,
String host,
JobId job) |
Copyright © 2017. All rights reserved.