open-nomad/client
Michael Schurter 9e49ed3464 ar: AllocState should not mutate ar.state
If ar.state.TaskStates has not been set, set it on the copy of ar.state.
That keeps ar.state manipulations in one location and allows AllocState
to only acquire read-locks.
2018-10-16 16:56:55 -07:00
..
allocdir client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
allochealth arv2: implement alloc health watching 2018-10-16 16:53:30 -07:00
allocrunner client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
allocrunnerv2 ar: AllocState should not mutate ar.state 2018-10-16 16:56:55 -07:00
allocwatcher client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
config tests: make a test client/config easier to generate 2018-10-16 16:56:55 -07:00
consul fix build errors post merges 2018-10-16 16:53:31 -07:00
driver tests: test logs endpoint against pending task 2018-10-16 16:56:55 -07:00
fingerprint fix build errors post merges 2018-10-16 16:53:31 -07:00
interfaces persist alloc state on changes, not periodically 2018-10-16 16:53:30 -07:00
lib fifo: add new fifo package for named pipes (#4665) 2018-10-16 16:53:30 -07:00
logmon plugin/drivers: plumb in stdout/stderr paths 2018-10-16 16:53:31 -07:00
servers client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
state tests: ensure task state is initialized in NewAR 2018-10-16 16:56:55 -07:00
stats client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
structs arv2: implement alloc health watching 2018-10-16 16:53:30 -07:00
testutil Add test and docs 2018-05-31 18:05:03 -07:00
vaultclient client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
acl.go client: hclog-ify most of the client 2018-10-16 16:53:30 -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 client: expose task state to client 2018-10-16 16:56:55 -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 client uses passed logger and fix fingerprinters 2018-10-16 16:53:30 -07:00
fingerprint_manager.go client uses passed logger and fix fingerprinters 2018-10-16 16:53:30 -07:00
fingerprint_manager_test.go client uses passed logger and fix fingerprinters 2018-10-16 16:53:30 -07:00
fs_endpoint.go client: expose task state to client 2018-10-16 16:56:55 -07:00
fs_endpoint_test.go tests: test logs endpoint against pending task 2018-10-16 16:56:55 -07:00
gc.go client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
gc_test.go Update state with server 2018-10-16 16:53:29 -07:00
rpc.go client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
rpc_test.go Client tls 2018-02-15 15:22:57 -08:00
testing.go tests: make a test client/config easier to generate 2018-10-16 16:56:55 -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