open-nomad/command/agent
Alex Dadgar 4ee603c382 Device hook and devices affect computed node class
This PR introduces a device hook that retrieves the device mount
information for an allocation. It also updates the computed node class
computation to take into account devices.

TODO Fix the task runner unit test. The environment variable is being
lost even though it is being properly set in the prestart hook.
2018-11-27 17:25:33 -08:00
..
config-test-fixtures plugin dir parsing 2018-08-30 13:43:09 -07:00
consul Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
test-resources Add test to verify order 2015-12-04 17:12:47 -08:00
acl_endpoint.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_endpoint_test.go spelling: bootstrap 2018-03-11 17:43:19 +00:00
agent.go Fix client reloading and pass the plugin loaders to server and client 2018-10-16 16:56:55 -07:00
agent_endpoint.go agent + consul 2018-09-13 10:43:40 -07:00
agent_endpoint_test.go Use in-mem rpc 2018-02-15 13:59:01 -08:00
agent_test.go agent + consul 2018-09-13 10:43:40 -07:00
alloc_endpoint.go feedback and rebasing 2018-02-15 13:59:03 -08:00
alloc_endpoint_test.go Set clean config for mock driver 2018-11-13 10:21:40 -05:00
bindata_assetfs.go Parsing and API layer for spread stanza 2018-09-04 16:10:11 -05:00
command.go Device manager 2018-11-07 10:43:15 -08:00
command_test.go plugin dir parsing 2018-08-30 13:43:09 -07:00
config.go client: begin driver plugin integration 2018-10-16 16:56:56 -07:00
config_oss.go Allow separate enterprise config overlay 2018-03-22 13:53:08 -07:00
config_parse.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
config_parse_test.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
config_test.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
deployment_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
deployment_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go spelling: output 2018-03-11 18:35:30 +00:00
fs_endpoint.go framer: fix early exit/truncation in framer 2018-05-02 10:46:16 -07:00
fs_endpoint_test.go tests: test via ServeMux so http codes are set 2018-10-16 16:56:55 -07:00
helpers.go client: expose task state to client 2018-10-16 16:56:55 -07:00
helpers_test.go Refactor determining the handler for a node id call 2018-02-15 13:59:02 -08:00
http.go change path to v1/scheduler/configuration 2018-11-12 15:57:45 -06:00
http_oss.go sync 2017-10-13 14:36:02 -07:00
http_test.go fixing up raft reload tests 2018-01-17 10:29:15 -05:00
job_endpoint.go parse affinities and constraints on devices 2018-10-11 14:05:19 -07:00
job_endpoint_test.go parse affinities and constraints on devices 2018-10-11 14:05:19 -07:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
log_levels.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
log_writer.go Enable more linters 2017-09-26 15:26:33 -07:00
log_writer_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go agent + consul 2018-09-13 10:43:40 -07:00
metrics_endpoint_test.go metrics test 2017-10-23 18:38:36 -07:00
node_endpoint.go Add documentation for eligibility toggle endpoint 2018-08-24 10:50:12 -04:00
node_endpoint_test.go Use constant in test 2018-05-30 17:27:04 -05:00
operator_endpoint.go Smaller methods, and added tests for RPC layer 2018-11-10 17:37:33 -06:00
operator_endpoint_test.go change path to v1/scheduler/configuration 2018-11-12 15:57:45 -06:00
plugins.go client: review comments and fixup/skip tests 2018-10-16 16:56:56 -07:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
retry_join.go agent + consul 2018-09-13 10:43:40 -07:00
retry_join_test.go agent + consul 2018-09-13 10:43:40 -07:00
search_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
search_endpoint_test.go add deployments to search api 2017-08-21 15:20:55 +00:00
stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
stats_endpoint_test.go Fix failing test TestClientStatusRequest 2018-05-30 15:11:54 -05:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go sync 2017-09-19 10:08:23 -05:00
syslog.go spelling: cleanup 2018-03-11 17:47:09 +00:00
syslog_test.go More parallel 2017-07-20 09:36:34 -07:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go spelling: significantly 2018-03-11 18:56:45 +00:00