open-nomad/nomad/state
Lang Martin 50ff9ccd44
csi: plugin deregistration on plugin job GC (#7502)
* nomad/structs/csi: delete just one plugin type from a node

* nomad/structs/csi: add DeleteAlloc

* nomad/state/state_store: add deleteJobFromPlugin

* nomad/state/state_store: use DeleteAlloc not DeleteNodeType

* move CreateTestCSIPlugin to state to avoid an import cycle

* nomad/state/state_store_test: delete a plugin by deleting its jobs

* nomad/*_test: move CreateTestCSIPlugin to state

* nomad/state/state_store: update one plugin per transaction

* command/plugin_status_test: move CreateTestCSIPlugin

* nomad: csi: handle nils CSIPlugin methods, clarity
2020-03-26 17:07:18 -04:00
..
autopilot.go goimports 2019-01-22 15:44:31 -08:00
autopilot_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
iterator.go csi: volumes listed in nomad node status (#7318) 2020-03-23 13:58:30 -04:00
schema.go finished refactoring state store, schema, etc 2020-03-24 13:57:14 +00:00
schema_test.go nomad: ensure a unique ClusterID exists when leader (gh-6702) 2020-01-31 19:03:26 -06:00
state_store.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
state_store_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
state_store_test.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
testing.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
testing_oss.go goimports 2019-01-22 15:44:31 -08:00