open-nomad/helper
Mahmood Ali 2588b3bc98 cleanup driver eventor goroutines
This fixes few cases where driver eventor goroutines are leaked during
normal operations, but especially so in tests.

This change makes few modifications:

First, it switches drivers to use `Context`s to manage shutdown events.
Previously, it relied on callers invoking `.Shutdown()` function that is
specific to internal drivers only and require casting.  Using `Contexts`
provide a consistent idiomatic way to manage lifecycle for both internal
and external drivers.

Also, I discovered few places where we don't clean up a temporary driver
instance in the plugin catalog code, where we dispense a driver to
inspect and validate the schema config without properly cleaning it up.
2020-05-26 11:04:04 -04:00
..
args address review comments 2018-10-30 13:58:52 -04:00
boltdd fixup! vendor: explicit use of hashicorp/go-msgpack 2020-03-31 09:48:07 -04:00
codec
constraints/semver test: assert semvers are *not* compared lexically 2019-11-19 10:59:40 -08:00
discover
escapingio tests: handle unicode matches 2019-05-21 09:41:23 -04:00
fields goimports 2019-01-22 15:44:31 -08:00
flag-helpers agent: add optional param to -dev flag for connect (#6126) 2019-08-14 15:29:37 -04:00
flatmap
freeport update rest of consul packages 2020-02-16 16:25:04 -06:00
gated-writer
grpc-middleware/logging helper: Add initial grpc logging middleware 2020-03-23 13:58:29 -04:00
logging cli Ui implementation that logs to a hclogger 2019-02-19 17:53:14 -06:00
mount helper/mount: Add mount helper package 2020-03-23 13:58:29 -04:00
noxssrw agent: prevent XSS by controlling Content-Type 2020-03-25 09:45:43 -04:00
pluginutils cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00
pool codec: we use hashicorp/go-msgpack exclusively 2020-05-11 14:05:29 -04:00
stats
testlog New monitor pkg for shared monitor functionality 2019-11-05 09:51:49 -05:00
testtask Update helper/testtask/testtask_windows.go 2019-01-17 18:43:14 +01:00
tlsutil
useragent
uuid
winsvc Added service wrapper code (#6220) 2019-11-11 15:16:07 -05:00
funcs.go csi: CLI for volume status, registration/deregistration and plugin status (#7193) 2020-03-23 13:58:30 -04:00
funcs_test.go connect: add group.service stanza support 2019-07-31 01:04:05 -04:00