open-nomad/api
Michael Schurter e62795798d core: propagate remote task handles
Add a new driver capability: RemoteTasks.

When a task is run by a driver with RemoteTasks set, its TaskHandle will
be propagated to the server in its allocation's TaskState. If the task
is replaced due to a down node or draining, its TaskHandle will be
propagated to its replacement allocation.

This allows tasks to be scheduled in remote systems whose lifecycles are
disconnected from the Nomad node's lifecycle.

See https://github.com/hashicorp/nomad-driver-ecs for an example ECS
remote task driver.
2021-04-27 15:07:03 -07:00
..
contexts api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
internal/testutil Fixup uses of `sanity` (#10187) 2021-03-16 18:05:08 -04:00
acl.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_test.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
agent.go api: `nomad debug` new /agent/host (#8325) 2020-07-02 09:51:25 -04:00
agent_test.go
allocations.go oversubscription: adds CLI and API support 2021-03-30 16:55:58 -04:00
allocations_test.go api: add Allocation client and server terminal status funcs. 2021-03-25 08:52:59 +01:00
api.go sdk: header map copy to avoid race condition in #10301 2021-04-06 18:06:27 +00:00
api_test.go documenting test for #10301 2021-04-06 17:31:29 +00:00
compose_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
constraint.go Tag Job spec with HCLv2 tags 2020-10-21 14:05:46 -04:00
constraint_test.go
consul.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
csi.go CSI: fix URL for volume snapshot list 2021-04-07 12:00:33 -04:00
csi_test.go csi: add -force flag to volume deregister (#8295) 2020-07-01 12:17:51 -04:00
deployments.go multiregion CLI: nomad deployment unblock 2020-06-17 11:03:44 -04:00
evaluations.go
evaluations_test.go
event_stream.go API: Event stream use full name instead of Eval/Alloc (#9509) 2020-12-03 11:48:18 -05:00
event_stream_test.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
fs.go
fs_test.go
go.mod Api/event stream payload values (#9277) 2020-11-05 13:04:18 -05:00
go.sum command: remove use of flag impls from consul 2020-12-11 07:58:20 -06:00
ioutil.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
ioutil_test.go Add api/ package function to save snapshot 2020-05-21 20:04:38 -04:00
jobs.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
jobs_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
namespace.go
namespace_test.go Fix pro tags 2020-07-17 11:02:00 -04:00
nodes.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
nodes_test.go restored Node.Sanitize() for RPC endpoints 2021-03-26 17:03:15 +00:00
operator.go Merge pull request #10276 from hashicorp/b-api-operator-query-meta 2021-04-12 13:30:24 -04:00
operator_autopilot.go
operator_metrics.go Metrics gotemplate support, debug bundle features (#9067) 2020-10-14 15:16:10 -04:00
operator_metrics_test.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
operator_test.go
quota.go
quota_test.go
raw.go
recommendations.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
regions.go
regions_test.go
resources.go oversubscription: adds CLI and API support 2021-03-30 16:55:58 -04:00
resources_test.go api: add Resource.Canonicalize test and fix tests to handle ReservedCores field 2021-03-19 22:08:27 -04:00
scaling.go chore: bump golangci-lint from v1.24 to v1.39 2021-04-03 09:50:23 +02:00
scaling_test.go add scaling policy type 2020-09-29 17:57:46 -04:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_test.go api: include ent fuzzy struct types in oss 2021-04-20 11:19:38 -06:00
sentinel.go
sentinel_test.go Fix pro tags 2020-07-17 11:02:00 -04:00
services.go Add a 'body' field to the check stanza 2021-04-13 09:15:35 -04:00
services_test.go consul/connect: enable setting local_bind_address in upstream 2021-02-26 11:37:31 +00:00
status.go
status_test.go
system.go
system_test.go
tasks.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
tasks_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
util_test.go appease the linter and fix an incorrect test 2021-01-08 19:38:25 +00:00
utils.go
utils_test.go