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
drain_heap_test.go
drain_testing.go
drainer.go spellcheck: Fix spelling of retrieve 2019-12-05 18:59:47 -06:00
drainer_util.go
drainer_util_test.go
draining_node.go
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