open-nomad/api
Danielle Lancashire 832f607433 allocs: Add nomad alloc stop
This adds a `nomad alloc stop` command that can be used to stop and
force migrate an allocation to a different node.

This is built on top of the AllocUpdateDesiredTransitionRequest and
explicitly limits the scope of access to that transition to expose it
under the alloc-lifecycle ACL.

The API returns the follow up eval that can be used as part of
monitoring in the CLI or parsed and used in an external tool.
2019-04-23 12:50:23 +02:00
..
contexts
internal/testutil Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
acl.go
acl_test.go
agent.go
agent_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
allocations.go allocs: Add nomad alloc stop 2019-04-23 12:50:23 +02:00
allocations_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
api.go cli: plumbed vault token from job revert command through API call 2019-04-10 10:34:10 -05:00
api_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
compose_test.go
constraint.go
constraint_test.go
deployments.go
evaluations.go
evaluations_test.go
fs.go
fs_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
go.mod Add go.mod/go.sum (#5493) 2019-03-29 15:02:32 -04:00
go.sum Add go.mod/go.sum (#5493) 2019-03-29 15:02:32 -04:00
jobs.go Update api/jobs.go 2019-04-10 10:34:10 -05:00
jobs_test.go cli: plumbed vault token from job revert command through API call 2019-04-10 10:34:10 -05:00
namespace.go
namespace_test.go
nodes.go
nodes_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
operator.go
operator_autopilot.go
operator_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
quota.go
quota_test.go
raw.go
regions.go
regions_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
resources.go
search.go
search_test.go
sentinel.go
sentinel_test.go
status.go
status_test.go
system.go
system_test.go
tasks.go
tasks_test.go Divest api/ package of deps elsewhere in the nomad repo. (#5488) 2019-03-29 14:47:40 -04:00
util_test.go
utils.go
utils_test.go