open-nomad/client/driver
Alex Dadgar f24ce2c50c Driver health detection cleanups
This PR does:

1. Health message based on detection has format "Driver XXX detected"
and "Driver XXX not detected"
2. Set initial health description based on detection status and don't
wait for the first health check.
3. Combine updating attributes on the node, fingerprint and health
checking update for drivers into a single call back.
4. Condensed driver info in `node status` only shows detected drivers
and make the output less wide by removing spaces.
2018-04-12 12:46:40 -07:00
..
env spelling: secrets 2018-03-11 18:53:26 +00:00
executor executor: increase level for helpful log lines 2018-03-21 11:53:58 -07:00
logging spelling: shutdown 2018-03-11 18:55:49 +00:00
structs fix typo 2018-01-08 15:56:07 -05:00
test-resources Test graceful shutdown 2018-01-31 15:05:02 -08:00
docker.go only initialize docker clients if they are nil 2018-04-09 14:13:07 -04:00
docker_coordinator.go spelling: safety 2018-03-11 18:52:54 +00:00
docker_coordinator_test.go Remove structs import from api 2017-09-29 10:36:08 -07:00
docker_default.go Finish implementation of the capabilities whitelist 2018-01-21 12:14:24 +01:00
docker_test.go go style; update comments 2018-03-21 15:15:25 -04:00
docker_unix_test.go respond to comments 2017-10-23 15:50:27 -07:00
docker_windows.go Finish implementation of the capabilities whitelist 2018-01-21 12:14:24 +01:00
driver.go spelling: resource 2018-03-11 18:51:03 +00:00
driver_test.go spelling: unexpected 2018-03-11 19:08:07 +00:00
exec.go extract signal helper into utils 2017-12-06 14:36:44 -05:00
exec_default.go code review fixup 2018-01-31 18:34:03 -05:00
exec_linux.go add detected to more drivers where the driver is found but unusable 2018-02-01 11:28:17 -05:00
exec_test.go code review fixup 2018-01-31 18:34:03 -05:00
exec_unix_test.go Parallel client tests (#2890) 2017-07-22 19:04:36 -07:00
executor_plugin.go Switch java/exec to use Exec in Executor 2017-04-21 16:25:49 -07:00
java.go add detected to more drivers where the driver is found but unusable 2018-02-01 11:28:17 -05:00
java_linux.go Support setting class_path and class name. 2017-01-13 16:03:11 -08:00
java_test.go spelling: assert 2018-03-11 17:41:33 +00:00
java_universal.go Support setting class_path and class name. 2017-01-13 16:03:11 -08:00
lxc.go Merge pull request #3781 from hashicorp/f-client-fingerprint-refactor 2018-02-01 20:13:44 -05:00
lxc_test.go spelling: destroy 2018-03-11 17:54:13 +00:00
mock_driver.go mock_driver: improve Kill() logging 2018-03-21 16:49:48 -07:00
mock_driver_testing.go RPC, FSM, State Store for marking DesiredTransistion 2018-03-21 16:49:48 -07:00
plugins.go spelling: serialize 2018-03-11 18:53:39 +00:00
qemu.go Merge pull request #3781 from hashicorp/f-client-fingerprint-refactor 2018-02-01 20:13:44 -05:00
qemu_test.go Merge pull request #3819 from schmichael/qemu-graceful-shutdown-alpine 2018-02-12 12:32:14 -08:00
raw_exec.go code review fixup 2018-01-31 18:34:03 -05:00
raw_exec_test.go code review fixup 2018-01-31 18:34:03 -05:00
raw_exec_unix_test.go Undo darwin user setting 2017-10-19 16:49:57 -07:00
rkt.go Driver health detection cleanups 2018-04-12 12:46:40 -07:00
rkt_nonlinux.go refactor Fingerprint to request/response construct 2018-01-24 11:54:02 -05:00
rkt_test.go rkt: allow specifying --group 2018-03-16 11:08:22 -07:00
testing.go extract test helper 2018-02-12 18:30:10 -05:00
utils.go fix typo 2018-01-08 15:56:07 -05:00
utils_test.go change location of default kill signal 2017-12-06 17:48:25 -05:00
utils_unix.go Enable more linters 2017-09-26 15:26:33 -07:00
utils_windows.go Enable more linters 2017-09-26 15:26:33 -07:00