open-nomad/nomad/structs
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
..
config vault: detect namespace change in config reload (#14298) 2022-08-24 17:03:29 -04:00
acl.go acl: make listing RPC and HTTP API a stub return object. (#14211) 2022-08-22 17:20:23 +02:00
acl_test.go acl: make listing RPC and HTTP API a stub return object. (#14211) 2022-08-22 17:20:23 +02:00
alloc.go client: fixed a problem calculating a service namespace. (#13493) 2022-06-28 09:47:28 +02:00
alloc_test.go client: fixed a problem calculating a service namespace. (#13493) 2022-06-28 09:47:28 +02:00
autopilot.go migrate autopilot implementation to raft-autopilot (#14441) 2022-09-01 14:27:10 -04:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
check_test.go cleanup: use constants for on_update values 2022-07-21 13:09:47 -05:00
checks.go cleanup: use constants for on_update values 2022-07-21 13:09:47 -05:00
connect.go
connect_test.go
consul.go
consul_oss.go
consul_oss_test.go
consul_test.go
csi.go CSI: failed allocation should not block its own controller unpublish (#14484) 2022-09-08 13:30:05 -04:00
csi_test.go
devices.go
devices_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
diff.go cli: ignore VaultToken when generating job diff (#14424) 2022-09-01 10:01:53 -04:00
diff_test.go cli: ignore VaultToken when generating job diff (#14424) 2022-09-01 10:01:53 -04:00
encoding.go
errors.go acl: add token expiry checking to ACL token resolution. (#13756) 2022-07-15 15:20:50 +02:00
errors_test.go
eval.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
event.go
extensions.go keyring: wrap root key in key encryption key (#14388) 2022-08-30 10:59:25 -04:00
funcs.go core: merge reserved_ports into host_networks (#13651) 2022-07-12 14:40:25 -07:00
funcs_test.go
generate.sh workload identity (#13223) 2022-07-11 13:34:05 -04:00
handlers.go
job.go
job_test.go
keyring.go keyring: wrap root key in key encryption key (#14388) 2022-08-30 10:59:25 -04:00
network.go core: merge reserved_ports into host_networks (#13651) 2022-07-12 14:40:25 -07:00
network_test.go core: merge reserved_ports into host_networks (#13651) 2022-07-12 14:40:25 -07:00
node.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
node_class.go
node_class_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
node_test.go
operator.go client: fix data races in config handling (#14139) 2022-08-18 16:32:04 -07:00
search.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
service_identities.go
service_registration.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
service_registration_test.go api: enable selecting subset of services using rendezvous hashing 2022-06-25 10:37:37 -05:00
services.go client: refactor check watcher to be reusable 2022-09-12 10:13:31 -05:00
services_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
streaming_rpc.go
structs.go Add client scheduling eligibility to heartbeat (#14483) 2022-09-08 14:31:36 -04:00
structs_codegen.go
structs_oss.go
structs_periodic_test.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
structs_test.go warn destructive update only when count > 1 (#13103) 2022-09-02 15:30:06 -04:00
testing.go
uuid.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
variables.go keyring: split structs to its own file (#14378) 2022-08-29 14:18:35 -04:00
variables_test.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
vault.go
volume_test.go
volumes.go