open-nomad/nomad/drainer
Drew Bailey 6c788fdccd
Events/msgtype cleanup (#9117)
* use msgtype in upsert node

adds message type to signature for upsert node, update tests, remove placeholder method

* UpsertAllocs msg type test setup

* use upsertallocs with msg type in signature

update test usage of delete node

delete placeholder msgtype method

* add msgtype to upsert evals signature, update test call sites with test setup msg type

handle snapshot upsert eval outside of FSM and ignore eval event

remove placeholder upsertevalsmsgtype

handle job plan rpc and prevent event creation for plan

msgtype cleanup upsertnodeevents

updatenodedrain msgtype

msg type 0 is a node registration event, so set the default  to the ignore type

* fix named import

* fix signature ordering on upsertnode to match
2020-10-19 09:30:15 -04:00
..
drain_heap.go Test transistion from both infinite and a future deadline to force 2018-03-30 11:24:39 -07:00
drain_heap_test.go fixing tests 2018-10-04 14:26:19 -07:00
drain_testing.go tests: fix some nomad/drainer test data races 2019-05-21 14:40:58 -04:00
drainer.go spellcheck: Fix spelling of retrieve 2019-12-05 18:59:47 -06:00
drainer_util.go drain: improve tests and fix spelling 2018-04-02 16:40:47 -07:00
drainer_util_test.go Fix typos 2018-05-07 14:50:01 -05:00
draining_node.go Safety guard 2018-04-25 16:00:56 -07:00
draining_node_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
watch_jobs.go avoid logging in draining job watcher 2020-03-30 07:06:53 -04:00
watch_jobs_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
watch_nodes.go tests: remove trace statements from nodeDrainWatcher.watch 2019-12-16 07:08:11 -06:00
watch_nodes_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00