open-nomad/nomad
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
..
deploymentwatcher
drainer
mock goimports 2019-01-22 15:44:31 -08:00
state goimports 2019-01-22 15:44:31 -08:00
structs allocs: Add nomad alloc stop 2019-04-23 12:50:23 +02:00
types
acl.go
acl_endpoint.go
acl_endpoint_test.go
acl_test.go
alloc_endpoint.go allocs: Add nomad alloc stop 2019-04-23 12:50:23 +02:00
alloc_endpoint_test.go allocs: Add nomad alloc stop 2019-04-23 12:50:23 +02:00
autopilot.go goimports 2019-01-22 15:44:31 -08:00
autopilot_test.go
blocked_evals.go
blocked_evals_test.go
client_alloc_endpoint.go allocs: Add nomad alloc restart 2019-04-11 14:25:49 +02:00
client_alloc_endpoint_test.go allocs: Add nomad alloc restart 2019-04-11 14:25:49 +02:00
client_fs_endpoint.go nomad: fix panic when no node conn found 2019-01-28 21:55:35 -08:00
client_fs_endpoint_test.go
client_rpc.go
client_rpc_test.go
client_stats_endpoint.go
client_stats_endpoint_test.go
config.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
core_sched.go
core_sched_test.go
deployment_endpoint.go
deployment_endpoint_test.go
deployment_watcher_shims.go
drainer_int_test.go
drainer_shims.go
endpoints_oss.go
eval_broker.go
eval_broker_test.go
eval_endpoint.go Update nomad/eval_endpoint.go 2019-03-05 15:19:07 -08:00
eval_endpoint_test.go Update nomad/eval_endpoint_test.go 2019-03-05 15:19:15 -08:00
fsm.go goimports 2019-01-22 15:44:31 -08:00
fsm_not_ent.go
fsm_registry_oss.go
fsm_test.go
heartbeat.go goimports 2019-01-22 15:44:31 -08:00
heartbeat_test.go goimports 2019-01-22 15:44:31 -08:00
job_endpoint.go Update nomad/job_endpoint.go 2019-04-10 10:34:10 -05:00
job_endpoint_oss.go
job_endpoint_test.go Update nomad/job_endpoint_test.go 2019-04-10 10:34:10 -05:00
leader.go Set NextEval when making `failed-follow-up` evals 2019-02-20 16:07:11 -08:00
leader_oss.go
leader_test.go Set NextEval when making `failed-follow-up` evals 2019-02-20 16:07:11 -08:00
merge.go
node_endpoint.go goimports 2019-01-22 15:44:31 -08:00
node_endpoint_test.go goimports 2019-01-22 15:44:31 -08:00
operator_endpoint.go Guard operator endpoints for minimum server version 2019-01-29 15:50:36 -06:00
operator_endpoint_test.go ensure tests run a 0.9 server 2019-01-29 16:19:45 -06:00
periodic.go
periodic_endpoint.go goimports 2019-01-22 15:44:31 -08:00
periodic_endpoint_test.go
periodic_test.go
plan_apply.go goimports 2019-01-22 15:44:31 -08:00
plan_apply_not_ent.go
plan_apply_pool.go
plan_apply_pool_test.go
plan_apply_test.go
plan_endpoint.go goimports 2019-01-22 15:44:31 -08:00
plan_endpoint_test.go goimports 2019-01-22 15:44:31 -08:00
plan_queue.go goimports 2019-01-22 15:44:31 -08:00
plan_queue_test.go
raft_rpc.go
regions_endpoint.go
regions_endpoint_test.go goimports 2019-01-22 15:44:31 -08:00
rpc.go
rpc_test.go
search_endpoint.go
search_endpoint_oss.go
search_endpoint_test.go
serf.go
serf_test.go
server.go server: inconsistent receiver notation corrected 2019-03-16 17:53:53 -05:00
server_setup_oss.go
server_test.go
stats_fetcher.go
stats_fetcher_test.go
status_endpoint.go
status_endpoint_test.go goimports 2019-01-22 15:44:31 -08:00
system_endpoint.go
system_endpoint_test.go goimports 2019-01-22 15:44:31 -08:00
testing.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
timetable.go
timetable_test.go
util.go
util_test.go
vault.go server vault client: use two vault clients, one with namespace, one without for /sys calls 2019-04-10 10:34:10 -05:00
vault_test.go server vault client: use two vault clients, one with namespace, one without for /sys calls 2019-04-10 10:34:10 -05:00
vault_testing.go
worker.go goimports 2019-01-22 15:44:31 -08:00
worker_test.go