Deployments HTTP docs

This commit is contained in:
Alex Dadgar
2017-06-29 16:15:13 -07:00
parent aa5bf9b49e
commit 89d86bc4bd
7 changed files with 492 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ func (d *Deployments) PromoteGroups(deploymentID string, groups []string, q *Wri
return &resp, wm, nil
}
// XXX
// SetAllocHealth is used to set allocation health for allocs that are part of
// the given deployment
func (d *Deployments) SetAllocHealth(deploymentID string, healthy, unhealthy []string, q *WriteOptions) (*DeploymentUpdateResponse, *WriteMeta, error) {

View File

@@ -224,6 +224,7 @@ func (j *Jobs) Dispatch(jobID string, meta map[string]string,
return &resp, wm, nil
}
// XXX
// Revert is used to revert the given job to the passed version. If
// enforceVersion is set, the job is only reverted if the current version is at
// the passed version.