open-nomad/command/agent
Michael Schurter cfcbb9fa21 consul: periodically reconcile services/checks
Periodically sync services and checks from Nomad to Consul. This is
mostly useful when testing with the Consul dev agent which does not
persist state across restarts. However, this is a reasonable safety
measure to prevent skew between Consul's state and Nomad's
services+checks.

Also modernized the test suite a bit.
2018-04-19 15:45:42 -07:00
..
config-test-fixtures Allow to specify total memory on agent configuration 2018-03-27 15:46:18 -05:00
consul consul: periodically reconcile services/checks 2018-04-19 15:45:42 -07:00
test-resources Add test to verify order 2015-12-04 17:12:47 -08:00
acl_endpoint.go Self token lookup 2017-10-13 13:12:20 -07:00
acl_endpoint_test.go spelling: bootstrap 2018-03-11 17:43:19 +00:00
agent.go minor code review fix 2018-04-10 15:33:01 -05:00
agent_endpoint.go Better client health check and error handling 2017-10-13 16:25:25 -07:00
agent_endpoint_test.go Use in-mem rpc 2018-02-15 13:59:01 -08:00
agent_test.go fix up test for file content changes 2018-03-28 13:18:13 -04:00
alloc_endpoint.go feedback and rebasing 2018-02-15 13:59:03 -08:00
alloc_endpoint_test.go Fix alloc watcher snapshot streaming 2018-03-27 11:14:53 -07:00
bindata_assetfs.go Version bump and generated files 2018-04-12 16:21:50 -07:00
command.go Fix prefix output of agent metadata 2018-03-30 16:27:18 -07:00
command_test.go spelling: preemptively 2018-03-11 17:58:48 +00:00
config.go Allow to specify total memory on agent configuration 2018-03-27 15:46:18 -05:00
config_oss.go Allow separate enterprise config overlay 2018-03-22 13:53:08 -07:00
config_parse.go Allow to specify total memory on agent configuration 2018-03-27 15:46:18 -05:00
config_parse_test.go Fix compilation fail in test after rebase 2018-03-28 11:54:34 -05:00
config_test.go Allow to specify total memory on agent configuration 2018-03-27 15:46:18 -05:00
deployment_endpoint.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
deployment_endpoint_test.go Populate DisplayMessage in various http endpoints that return allocations, plus unit tests. 2017-11-17 14:53:26 -06:00
eval_endpoint.go http: list results are never null 2015-09-07 10:03:10 -07:00
eval_endpoint_test.go spelling: output 2018-03-11 18:35:30 +00:00
fs_endpoint.go Enhance API pkg to utilize Server's Client Tunnel 2018-02-15 13:59:03 -08:00
fs_endpoint_test.go test: don't call t.Fatal from within a goroutine 2018-03-21 16:51:45 -07:00
helpers.go Use helper for forwarding 2018-02-15 13:59:03 -08:00
helpers_test.go Refactor determining the handler for a node id call 2018-02-15 13:59:02 -08:00
http.go command/agent: add /v1/jobs/parse endpoint 2018-04-16 19:21:06 -04:00
http_oss.go sync 2017-10-13 14:36:02 -07:00
http_test.go fixing up raft reload tests 2018-01-17 10:29:15 -05:00
job_endpoint.go command/agent: add Canonicalize option to parse args 2018-04-16 19:21:09 -04:00
job_endpoint_test.go command/agent: fix url in jobs parse ep test 2018-04-16 19:21:09 -04:00
keyring.go Enable serf encryption (#1791) 2016-10-17 10:48:04 -07:00
keyring_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
log_levels.go agent: start basic logging setup 2015-08-16 13:54:49 -07:00
log_levels_test.go More parallel 2017-07-20 09:36:34 -07:00
log_writer.go Enable more linters 2017-09-26 15:26:33 -07:00
log_writer_test.go More parallel 2017-07-20 09:36:34 -07:00
metrics_endpoint.go updated documentation 2017-09-13 19:21:21 +00:00
metrics_endpoint_test.go metrics test 2017-10-23 18:38:36 -07:00
node_endpoint.go Create evals for system jobs when drain is unset 2018-03-27 15:53:24 -07:00
node_endpoint_test.go Create evals for system jobs when drain is unset 2018-03-27 15:53:24 -07:00
operator_endpoint.go Clean up some leftover autopilot differences from Consul 2018-02-08 10:27:26 -08:00
operator_endpoint_test.go Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
region_endpoint.go website: document regions endpoint 2015-11-24 09:38:07 -08:00
region_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
search_endpoint.go Sync namespace changes 2017-09-07 17:04:21 -07:00
search_endpoint_test.go add deployments to search api 2017-08-21 15:20:55 +00:00
stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
stats_endpoint_test.go Server tests of logs 2018-02-15 13:59:02 -08:00
status_endpoint.go http: adding status APIs 2015-09-06 18:39:03 -07:00
status_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
stub_asset.go sync 2017-09-19 10:08:23 -05:00
syslog.go spelling: cleanup 2018-03-11 17:47:09 +00:00
syslog_test.go More parallel 2017-07-20 09:36:34 -07:00
system_endpoint.go Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
system_endpoint_test.go More parallel 2017-07-20 09:36:34 -07:00
testagent.go spelling: significantly 2018-03-11 18:56:45 +00:00