open-nomad/command/agent/consul
Seth Hoenig db2347a86c cleanup: prevent leaks from time.After
This PR replaces use of time.After with a safe helper function
that creates a time.Timer to use instead. The new function returns
both a time.Timer and a Stop function that the caller must handle.

Unlike time.NewTimer, the helper function does not panic if the duration
set is <= 0.
2022-02-02 14:32:26 -06:00
..
acl_testing.go consul: move consul acl tests into ent files 2021-06-09 08:38:42 -05:00
catalog_testing.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
check_watcher.go consul: minor CR cleanup 2021-04-05 10:10:16 -06:00
check_watcher_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
config_entries_testing.go consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
connect.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
connect_proxies.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_proxies_test.go gofmt all the files 2021-10-01 10:14:28 -04:00
connect_proxies_testing.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
group_test.go consul/connect: Avoid assumption of parent service when filtering connect proxies 2021-07-08 09:43:41 -05:00
int_test.go client: never embed alloc_dir in chroot 2021-10-18 09:22:01 -07:00
namespaces_client.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
namespaces_client_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
self.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
self_test.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
service_client.go fix panic when Connect mesh gateway doesn't have a proxy block (#11257) 2021-10-04 15:52:07 -04:00
service_client_test.go consul/connect: improve regex from CR suggestions 2021-07-08 13:05:05 -05:00
structs.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
testing.go
unit_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
version_checker.go cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
version_checker_test.go