open-nomad/client
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
..
allocdir implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
allocrunner implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
allocrunnerv2 implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
allocwatcher implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
config Scheduler uses allocated resources 2018-10-02 17:08:25 -07:00
consul agent + consul 2018-09-13 10:43:40 -07:00
driver keep forgetting lxc 2018-10-16 16:53:30 -07:00
fingerprint use int64 2018-10-16 15:34:32 -07:00
interfaces persist alloc state on changes, not periodically 2018-10-16 16:53:30 -07:00
lib/streamframer framer: fix early exit/truncation in framer 2018-05-02 10:46:16 -07:00
servers Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
state implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
stats Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
structs implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
testutil Add test and docs 2018-05-31 18:05:03 -07:00
vaultclient Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
acl.go SecretID -> AuthToken 2017-10-12 15:16:33 -07:00
acl_test.go Add testing interfaces 2018-02-15 13:59:00 -08:00
alloc_endpoint.go feedback and rebasing 2018-02-15 13:59:03 -08:00
alloc_endpoint_test.go fix flaky gc tests 2018-02-15 13:59:03 -08:00
alloc_watcher_e2e_test.go client: set host name when migrating over tls 2018-09-05 17:24:17 -07:00
client.go implement stopping, destroying, and disk migration 2018-10-16 16:53:30 -07:00
client_stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_stats_endpoint_test.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_test.go agent + consul 2018-09-13 10:43:40 -07:00
fingerprint_manager.go DriverContext: Add the TaskGroup and the Job name 2018-04-23 00:15:29 +02:00
fingerprint_manager_test.go Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
fs_endpoint.go Keep stream and logs in sync for detecting closed pipe 2018-05-09 11:22:52 -07:00
fs_endpoint_test.go Tests only use testlog package logger 2018-06-13 15:40:56 -07:00
gc.go example redis job "runs" on arv2! see below 2018-10-16 16:53:29 -07:00
gc_test.go Update state with server 2018-10-16 16:53:29 -07:00
rpc.go RPC Retry Watcher 2018-04-03 18:05:28 -07:00
rpc_test.go Client tls 2018-02-15 15:22:57 -08:00
testing.go agent + consul 2018-09-13 10:43:40 -07:00
util.go example redis job "runs" on arv2! see below 2018-10-16 16:53:29 -07:00
util_test.go Update state with server 2018-10-16 16:53:29 -07:00