open-nomad/command/agent
James Rasell 7cd28a6fb6
client: refactor common service registration objects from Consul.
This commit performs refactoring to pull out common service
registration objects into a new `client/serviceregistration`
package. This new package will form the base point for all
client specific service registration functionality.

The Consul specific implementation is not moved as it also
includes non-service registration implementations; this reduces
the blast radius of the changes as well.
2022-03-15 09:38:30 +01:00
..
consul client: refactor common service registration objects from Consul. 2022-03-15 09:38:30 +01:00
event make auditor interface more explicit 2020-03-23 19:32:58 -04:00
host gofmt all the files 2021-10-01 10:14:28 -04:00
monitor cleanup: prevent leaks from time.After 2022-02-02 14:32:26 -06:00
pprof Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
test-resources Update IsEmpty to check for pre-1.2.4 fields (#11930) 2022-01-28 14:41:49 -05:00
testdata core: remove all traces of unused protocol version 2022-02-18 16:12:36 -08:00
acl_endpoint.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_endpoint_test.go cleanup: stop referencing depreceted HeaderMap field 2022-01-12 10:32:54 -06:00
agent.go config: add native service discovery admin boolean parameter. 2022-03-14 11:48:13 +01:00
agent_endpoint.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
agent_endpoint_test.go Make number of scheduler workers reloadable (#11593) 2022-01-06 11:56:13 -05:00
agent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
agent_test.go config: add native service discovery admin boolean parameter. 2022-03-14 11:48:13 +01:00
alloc_endpoint.go http: add alloc service registration agent HTTP endpoint. 2022-03-03 12:13:32 +01:00
alloc_endpoint_test.go http: add alloc service registration agent HTTP endpoint. 2022-03-03 12:13:32 +01:00
bindata_assetfs.go Generate files for 1.2.4 release 2022-01-18 23:43:00 +00:00
command.go core: remove all traces of unused protocol version 2022-02-18 16:12:36 -08:00
command_test.go Add config command and config validate subcommand to nomad CLI (#9198) 2022-02-08 16:52:35 -05:00
config.go config: add native service discovery admin boolean parameter. 2022-03-14 11:48:13 +01:00
config_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
config_parse.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
config_parse_test.go core: remove all traces of unused protocol version 2022-02-18 16:12:36 -08:00
config_test.go config: add native service discovery admin boolean parameter. 2022-03-14 11:48:13 +01:00
csi_endpoint.go CSI: ensure all fields are mapped from structs to api response (#12124) 2022-02-24 14:17:15 -05:00
csi_endpoint_test.go CSI: capability block is required for volume registration 2021-04-08 13:02:24 -04:00
deployment_endpoint.go initial base work for implementing sorting and filter across API endpoints (#12076) 2022-02-16 14:34:36 -05:00
deployment_endpoint_test.go cleanup: stop referencing depreceted HeaderMap field 2022-01-12 10:32:54 -06:00
eval_endpoint.go initial base work for implementing sorting and filter across API endpoints (#12076) 2022-02-16 14:34:36 -05:00
eval_endpoint_test.go cleanup: stop referencing depreceted HeaderMap field 2022-01-12 10:32:54 -06:00
event_endpoint.go return 405 on non-GET requests to /v1/event/stream (fixes #9526) (#9564) 2020-12-08 13:09:20 -05:00
event_endpoint_test.go Remove Managed Sinks from Nomad (#9470) 2020-11-30 14:00:31 -05:00
fs_endpoint.go api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
fs_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
helpers.go
helpers_test.go test: fix missing agent shutdowns 2020-02-07 15:50:53 -08:00
http.go http: add agent service registration HTTP endpoint. 2022-03-03 12:13:00 +01:00
http_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
http_stdlog.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_stdlog_test.go agent: route http logs through hclog 2020-04-20 10:33:40 -04:00
http_test.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
job_endpoint.go jobspec: add service block provider parameter and validation. 2022-03-14 09:21:20 +01:00
job_endpoint_test.go jobspec: add service block provider parameter and validation. 2022-03-14 09:21:20 +01:00
keyring.go Log AES-128 and AES-192 key sizes during keyring initialization 2020-10-01 11:12:14 -04:00
keyring_test.go Fix other usages of initKeyring func to use logger as third argument 2020-10-01 11:13:06 -04:00
log_file.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_bsd.go freebsd: build fix for ARM7 32-bit (#11854) 2022-01-14 12:25:32 -05:00
log_file_linux.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_test.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_file_windows.go prevent active log from being overwritten when agent starts (#11386) 2021-10-26 20:57:07 -04:00
log_levels.go Support for hot reloading log levels 2019-07-24 13:37:08 +02:00
log_levels_test.go
metrics_endpoint.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
metrics_endpoint_test.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
namespace_endpoint.go core: open source namespaces 2020-10-22 15:26:32 -07:00
namespace_endpoint_test.go gofmt all the files 2021-10-01 10:14:28 -04:00
node_endpoint.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
node_endpoint_test.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
operator_endpoint.go scheduler: config option to reject job registration (#11610) 2021-12-06 15:20:34 -05:00
operator_endpoint_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
operator_endpoint_test.go Revert "Return SchedulerConfig instead of SchedulerConfigResponse struct (#10799)" (#11433) 2021-11-02 17:42:52 -04:00
plugins.go
region_endpoint.go
region_endpoint_test.go
retry_join.go
retry_join_test.go
scaling_endpoint.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
scaling_endpoint_test.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
search_endpoint.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_endpoint_test.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
service_registration_endpoint.go http: add agent service registration HTTP endpoint. 2022-03-03 12:13:00 +01:00
service_registration_endpoint_test.go http: add agent service registration HTTP endpoint. 2022-03-03 12:13:00 +01:00
stats_endpoint.go
stats_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
stub_asset.go gofmt all the files 2021-10-01 10:14:28 -04:00
syslog.go
syslog_test.go
system_endpoint.go
system_endpoint_test.go
testagent.go docs/tests for multiple HTTP address config (#11760) 2022-01-03 10:17:13 -05:00
testagent_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
testingutils_test.go mock: add default host network 2020-11-23 10:11:00 -06:00