open-nomad/command/agent
Seth Hoenig feff36f3f7 client: refactor check watcher to be reusable
This PR refactors agent/consul/check_watcher into client/serviceregistration,
and abstracts away the Consul-specific check lookups.

In doing so we should be able to reuse the existing check watcher logic for
also watching NSD checks in a followup PR.

A chunk of consul/unit_test.go is removed - we'll cover that in e2e tests
in a follow PR if needed. In the long run I'd like to remove this whole file.
2022-09-12 10:13:31 -05:00
..
consul client: refactor check watcher to be reusable 2022-09-12 10:13:31 -05:00
event
host testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
monitor ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
pprof ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
test-resources Add Nomad RetryConfig to agent template config (#13907) 2022-08-03 16:56:30 -04:00
testdata Merge branch 'main' into f-gh-13120-sso-umbrella 2022-08-02 08:30:03 +01:00
acl_endpoint.go acl: make listing RPC and HTTP API a stub return object. (#14211) 2022-08-22 17:20:23 +02:00
acl_endpoint_test.go acl: allow tokens to lookup linked roles. (#14227) 2022-08-24 13:51:51 +02:00
agent.go Merge pull request #14290 from hashicorp/cleanup-more-helper-cleanup 2022-08-30 08:19:48 -05:00
agent_endpoint.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
agent_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
agent_oss.go
agent_test.go vault: detect namespace change in config reload (#14298) 2022-08-24 17:03:29 -04:00
alloc_endpoint.go client: fix RPC forwarding when querying checks for alloc. (#14498) 2022-09-08 16:55:23 +02:00
alloc_endpoint_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
bindata_assetfs.go Merge release 1.3.5 files (#14425) 2022-08-31 18:31:56 -04:00
command.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
command_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
config.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
config_oss.go
config_parse.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
config_parse_test.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
config_test.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
csi_endpoint.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
csi_endpoint_test.go CSI: replace structs->api with serialization extension (#12583) 2022-04-15 14:29:34 -04:00
deployment_endpoint.go
deployment_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_endpoint.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
eval_endpoint_test.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
event_endpoint.go
event_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
fs_endpoint.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fs_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
helpers.go
helpers_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-30 08:59:13 +01:00
http_oss.go
http_stdlog.go
http_stdlog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
http_test.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
job_endpoint.go template: custom change_mode scripts (#13972) 2022-08-24 17:43:01 +02:00
job_endpoint_test.go template: custom change_mode scripts (#13972) 2022-08-24 17:43:01 +02:00
keyring.go
keyring_endpoint.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_endpoint_test.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
keyring_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
log_file.go
log_file_bsd.go
log_file_linux.go
log_file_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
log_file_windows.go
log_levels.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
log_levels_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
metrics_endpoint.go
metrics_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_endpoint.go
namespace_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_endpoint.go Add os to NodeListStub struct. (#12497) 2022-04-15 17:22:45 -07:00
node_endpoint_test.go Add os to NodeListStub struct. (#12497) 2022-04-15 17:22:45 -07:00
operator_endpoint.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
operator_endpoint_oss.go
operator_endpoint_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
plugins.go
region_endpoint.go
region_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
retry_join.go
retry_join_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
scaling_endpoint.go
scaling_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
search_endpoint.go
search_endpoint_test.go search: enforce correct ACL for search over variables (#14397) 2022-08-30 13:27:31 -04:00
service_registration_endpoint.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
service_registration_endpoint_test.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
stats_endpoint.go
stats_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
status_endpoint.go
status_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
stub_asset.go
syslog.go
syslog_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_endpoint.go
system_endpoint_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testagent.go ci: set test log level off in gha 2022-03-25 13:43:33 -05:00
testagent_oss.go
testingutils_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
variable_endpoint.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
variable_endpoint_test.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00