open-nomad/nomad/deploymentwatcher
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
..
batcher.go deploymentwatcher: no batcher when disabling 2020-05-26 14:44:47 -04:00
deployment_watcher.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07:00
deployments_watcher.go multiregion: use pending instead of paused 2020-06-17 11:06:14 -04:00
deployments_watcher_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
doc.go new deploymentwatcher/doc.go for package level documentation 2019-05-22 12:32:08 -04:00
multiregion_oss.go multiregion: use pending instead of paused 2020-06-17 11:06:14 -04:00
testutil_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00