mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Deployments HTTP docs
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user