open-nomad/nomad
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
..
deploymentwatcher tests: deflake deploymentwatcher package 2020-03-12 15:42:01 -04:00
drainer tests: remove trace statements from nodeDrainWatcher.watch 2019-12-16 07:08:11 -06:00
mock more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
state csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
structs csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
types
acl.go Audit config, seams for enterprise audit features 2020-03-23 13:47:42 -04:00
acl_endpoint.go
acl_endpoint_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
acl_test.go Audit config, seams for enterprise audit features 2020-03-23 13:47:42 -04:00
alloc_endpoint.go
alloc_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
autopilot.go implement MinQuorum 2020-02-16 16:04:59 -06:00
autopilot_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
blocked_evals.go
blocked_evals_system.go
blocked_evals_test.go
client_agent_endpoint.go Allow nomad monitor command to lookup server UUID 2020-01-29 13:55:29 -05:00
client_agent_endpoint_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
client_alloc_endpoint.go
client_alloc_endpoint_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
client_csi_endpoint.go csi: implement controller detach RPCs (#7356) 2020-03-23 13:59:25 -04:00
client_csi_endpoint_test.go csi: implement controller detach RPCs (#7356) 2020-03-23 13:59:25 -04:00
client_fs_endpoint.go
client_fs_endpoint_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
client_rpc.go csi: csi-hostpath plugin unimplemented error on controller publish (#7299) 2020-03-23 13:58:30 -04:00
client_rpc_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
client_stats_endpoint.go
client_stats_endpoint_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
config.go csi: volume claim garbage collection (#7125) 2020-03-23 13:58:30 -04:00
consul.go comments: cleanup some leftover debug comments and such 2020-01-31 19:04:35 -06:00
consul_policy.go nomad: fix leftover missed refactoring in consul policy checking 2020-01-31 19:05:06 -06:00
consul_policy_test.go nomad: fix leftover missed refactoring in consul policy checking 2020-01-31 19:05:06 -06:00
consul_test.go nomad: handle SI token revocations concurrently 2020-01-31 19:04:14 -06:00
core_sched.go csi: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -04:00
core_sched_test.go csi: implement volume ACLs (#7339) 2020-03-23 13:59:25 -04:00
csi_endpoint.go csi: volume/plugin list should return an empty array, not nil (#7443) 2020-03-23 21:21:40 -04:00
csi_endpoint_test.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
deployment_endpoint.go
deployment_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
deployment_watcher_shims.go
drainer_int_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
drainer_shims.go
endpoints_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
eval_broker.go
eval_broker_test.go
eval_endpoint.go
eval_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
fsm.go wip: upsert/delete scaling policies on job upsert/delete 2020-03-24 13:55:18 +00:00
fsm_not_ent.go
fsm_registry_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
fsm_test.go implement MinQuorum 2020-02-16 16:04:59 -06:00
heartbeat.go
heartbeat_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
job_endpoint.go more testing for ScalingPolicy, mainly around parsing and canonicalization for Min/Max 2020-03-24 19:43:50 +00:00
job_endpoint_hook_connect.go nomad: proxy requests for Service Identity tokens between Clients and Consul 2020-01-31 19:03:53 -06:00
job_endpoint_hook_connect_test.go connect: canonicalize before adding sidecar 2019-12-12 20:55:56 -08:00
job_endpoint_hooks.go
job_endpoint_oss.go
job_endpoint_test.go update RPC scaling endpoint tests to use renamed 'scale' policy disposition 2020-03-24 20:18:12 +00:00
leader.go csi: volume claim garbage collection (#7125) 2020-03-23 13:58:30 -04:00
leader_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
leader_test.go tests: deflake TestServer_ReconcileMember 2020-03-06 14:14:41 -05:00
merge.go
node_endpoint.go csi: volume claim garbage collection (#7125) 2020-03-23 13:58:30 -04:00
node_endpoint_test.go csi: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -04:00
operator_endpoint.go
operator_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
periodic.go
periodic_endpoint.go
periodic_endpoint_test.go csi: fix index maintenance for CSIVolume and CSIPlugin tables (#7049) 2020-03-23 13:58:29 -04:00
periodic_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
plan_apply.go
plan_apply_not_ent.go
plan_apply_pool.go
plan_apply_pool_test.go
plan_apply_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
plan_endpoint.go
plan_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
plan_normalization_test.go
plan_queue.go
plan_queue_test.go
raft_rpc.go
regions_endpoint.go
regions_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
rpc.go nomad/rpc: indicate missing region in error message 2020-03-23 13:58:29 -04:00
rpc_test.go Deflake TestRPC_Limits_Streaming test 2020-03-20 17:21:43 -04:00
scaling_endpoint.go add acl validation to Scaling.ListPolicies and Scaling.GetPolicy 2020-03-24 14:39:05 +00:00
scaling_endpoint_test.go update RPC scaling endpoint tests to use renamed 'scale' policy disposition 2020-03-24 20:18:12 +00:00
search_endpoint.go csi: CLI for volume status, registration/deregistration and plugin status (#7193) 2020-03-23 13:58:30 -04:00
search_endpoint_oss.go csi: implement volume ACLs (#7339) 2020-03-23 13:59:25 -04:00
search_endpoint_test.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
serf.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
serf_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
server.go wip: added policy get endpoint, added UUID to policy 2020-03-24 13:55:20 +00:00
server_setup_oss.go Update consul autopilot dependency 2020-02-16 15:41:43 -06:00
server_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
stats_fetcher.go
stats_fetcher_test.go Simplify Bootstrap logic in tests 2020-03-02 13:47:43 -05:00
status_endpoint.go
status_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
system_endpoint.go
system_endpoint_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00
testing.go csi: plugin deregistration on plugin job GC (#7502) 2020-03-26 17:07:18 -04:00
timetable.go
timetable_test.go
util.go remove unused dropButLastChannel 2020-02-13 18:56:53 -05:00
util_test.go remove unused dropButLastChannel 2020-02-13 18:56:53 -05:00
vault.go nomad: handle SI token revocations concurrently 2020-01-31 19:04:14 -06:00
vault_test.go vendor: vault api and sdk 2020-03-21 17:57:48 +01:00
vault_testing.go
worker.go
worker_test.go tests: swap lib/freeport for tweaked helper/freeport 2019-12-09 08:37:32 -06:00