open-nomad/nomad/structs
Michael Schurter 770ed703d0 Add Driver.Prestart method
The Driver.Prestart method currently does very little but lays the
foundation for where lifecycle plugins can interleave execution _after_
task environment setup but _before_ the task starts.

Currently Prestart does two things:

* Any driver specific task environment building
* Download Docker images

This change also attaches a TaskEvent emitter to Drivers, so they can
emit events during task initialization.
2016-12-02 11:03:48 -08:00
..
config Merge pull request #1931 from hashicorp/rename-vault-config 2016-11-06 10:14:25 -08:00
bitmap.go Fix bitmap test and check bitmap bounds 2016-08-16 15:16:35 -07:00
bitmap_test.go Fix bitmap test and check bitmap bounds 2016-08-16 15:16:35 -07:00
diff.go Template diff 2016-09-26 15:36:11 -07:00
diff_test.go tests 2016-10-18 14:54:14 -07:00
funcs.go Add implicit signal constraint and validate that a driver can handle the signal. Also fixes a bug with plan and implicit constraints by adding them to the job being planned 2016-10-20 13:55:35 -07:00
funcs_test.go Fix flaky test 2016-10-27 11:48:00 -07:00
network.go Fix network port collisions when asking for dyn ports 2016-08-11 16:18:45 -07:00
network_test.go Fix network dynamic port test 2016-08-17 11:08:21 -07:00
node_class.go Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
node_class_test.go Making driver fingerprinters run periodically and unblocking evals when node registration happens 2016-03-31 18:11:27 -07:00
structs.go Add Driver.Prestart method 2016-12-02 11:03:48 -08:00
structs_codegen.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
structs_test.go can not -> cannot 2016-11-01 16:05:51 -07:00