open-nomad/client/allocdir
Michael Schurter e204a287ed Refactor Consul Syncer into new ServiceClient
Fixes #2478 #2474 #1995 #2294

The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.

The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.

Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.

Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
..
alloc_dir.go Refactor Consul Syncer into new ServiceClient 2017-04-19 12:42:47 -07:00
alloc_dir_test.go Fix lint errors 2017-03-02 21:03:05 -08:00
fs_darwin.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
fs_freebsd.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
fs_linux.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
fs_linux_test.go Fix lint errors 2017-03-02 21:03:05 -08:00
fs_solaris.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
fs_unix.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
fs_windows.go Set ownership on directories in chroot 2017-04-17 12:41:33 -07:00
task_dir.go Chown files when copying into chroot 2017-04-17 11:03:15 -07:00
task_dir_linux.go Safely ensure {dev,proc,alloc} are mounted 2017-03-02 13:21:34 -08:00
task_dir_linux_test.go Safely ensure {dev,proc,alloc} are mounted 2017-03-02 13:21:34 -08:00
task_dir_nonlinux.go
task_dir_test.go Safely ensure {dev,proc,alloc} are mounted 2017-03-02 13:21:34 -08:00