open-nomad/client/allocrunnerv2
Michael Schurter 6f92b04226 health_hook: simplify locking; test thoroughly
Use doneCh like @dadgar suggested in the original PR.

Thoroughly test hook as concurrent Update calls make for a tricky
concurrency problem.
2018-10-16 16:53:30 -07:00
..
interfaces arv2: implement alloc health watching 2018-10-16 16:53:30 -07:00
state arv2: implement alloc health watching 2018-10-16 16:53:30 -07:00
taskrunner Emit events before long operations 2018-10-16 16:53:30 -07:00
alloc_runner.go ar: create health setting shim for health watcher 2018-10-16 16:53:30 -07:00
alloc_runner_hooks.go Emit events before long operations 2018-10-16 16:53:30 -07:00
alloc_runner_test.go wip 2018-10-16 16:53:29 -07:00
allocdir_hook.go refactor ar hooks into their own files 2018-10-16 16:53:30 -07:00
config.go implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
health_hook.go health_hook: simplify locking; test thoroughly 2018-10-16 16:53:30 -07:00
health_hook_test.go health_hook: simplify locking; test thoroughly 2018-10-16 16:53:30 -07:00
migrate_hook.go refactor ar hooks into their own files 2018-10-16 16:53:30 -07:00
util.go Initial V2 alloc runner 2018-10-16 16:53:28 -07:00