open-nomad/client/allocrunner
Michael Schurter e42154fc46 implement stopping, destroying, and disk migration
* Stopping an alloc is implemented via Updates but update hooks are
  *not* run.
* Destroying an alloc is a best effort cleanup.
* AllocRunner destroy hooks implemented.
* Disk migration and blocking on a previous allocation exiting moved to
  its own package to avoid cycles. Now only depends on alloc broadcaster
  instead of also using a waitch.
* AllocBroadcaster now only drops stale allocations and always keeps the
  latest version.
* Made AllocDir safe for concurrent use

Lots of internal contexts that are currently unused. Unsure if they
should be used or removed.
2018-10-16 16:53:30 -07:00
..
getter Refactor - wip 2018-06-12 10:23:45 -07:00
taskrunner wrap boltdb in a write deduplicator 2018-10-16 16:53:30 -07:00
alloc_runner.go implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
alloc_runner_health_watcher.go Refactor - wip 2018-06-12 10:23:45 -07:00
alloc_runner_test.go fixing tests 2018-10-04 14:26:19 -07:00
testing.go implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00