open-nomad/nomad/structs
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 Plugin config parsing 2018-08-29 17:06:01 -07:00
batch_future.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
batch_future_test.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
bitmap.go assign names 2017-07-07 12:03:11 -07:00
bitmap_test.go assign names 2017-07-07 12:03:11 -07:00
devices.go review comments 2018-11-07 10:33:22 -08:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go Diff 2018-10-08 17:02:58 -07:00
diff_test.go Diff 2018-10-08 17:02:58 -07:00
errors.go rpc: only attempt NodeRpc for nodes>=0.8 2018-04-09 11:08:06 -07:00
funcs.go allocs fit checks if devices get oversubscribed 2018-11-07 10:33:22 -08:00
funcs_test.go review comments 2018-11-07 10:33:22 -08:00
generate.sh Codecgen full package 2018-04-26 15:24:53 -07:00
network.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
network_test.go Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
node.go Fix copying drivers 2018-04-16 15:45:51 -07:00
node_class.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_class_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_test.go fix issue when updating node events 2018-03-21 15:15:26 -04:00
operator.go Use response object/querymeta/writemeta in scheduler config API 2018-11-10 10:31:10 -06:00
streaming_rpc.go spelling: requested 2018-03-11 18:43:21 +00:00
structs.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
structs_codegen.go Codecgen full package 2018-04-26 15:24:53 -07:00
structs_test.go Fix failing resource subtraction test 2018-11-06 12:26:26 -06:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00