consul/agent
Mitchell Hashimoto 37dde6d64a
agent/config: add managed proxy upstreams config to skip
agent/config will turn [{}] into {} (single element maps into a single
map) to work around HCL issues. These are resolved in HCL2 which I'm
sure Consul will switch to eventually.

This breaks the connect proxy configuration in service definition FILES
since we call this patch function. For now, let's just special-case skip
this. In the future we maybe Consul will adopt HCL2 and fix it, or we
can do something else if we want. This works and is tested.
2018-06-14 09:42:13 -07:00
..
ae Spelling (#3958) 2018-03-19 16:56:00 +00:00
cache agent/cache: address PR feedback, lots of typos 2018-06-14 09:42:03 -07:00
cache-types Make CSR work with jank domain 2018-06-14 09:42:13 -07:00
checks Update check.go 2018-03-31 16:44:35 +01:00
config agent/config: add managed proxy upstreams config to skip 2018-06-14 09:42:13 -07:00
connect TLS watching integrated into Service with some basic tests. 2018-06-14 09:42:07 -07:00
consul Wire up agent leaf endpoint to cache framework to support blocking. 2018-06-14 09:42:07 -07:00
exec fix go vet issue 2017-10-25 19:30:35 +02:00
local agent: resolve some conflicts and fix tests 2018-06-14 09:42:10 -07:00
metadata fix refactoring 2018-01-28 22:48:21 +04:00
mock agent: replace docker check 2017-07-18 20:24:38 +02:00
pool Makes RPC handling more robust when rolling servers. (#3561) 2017-10-10 15:19:50 -07:00
proxy agent/proxy: delete pid file on Stop 2018-06-14 09:42:13 -07:00
router Remove unnecessary nil checks 2018-03-27 10:59:42 -05:00
structs agent/structs: validate service definitions, port required for proxy 2018-06-14 09:42:13 -07:00
systemd agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
token Adds secure introduction for the ACL replication token. (#3357) 2017-08-03 15:39:31 -07:00
acl.go Remove deprecated metric names 2018-05-08 16:23:15 -07:00
acl_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
acl_endpoint_test.go Moves ACL disabled response logic down into endpoints. 2017-11-29 18:36:52 -08:00
acl_test.go local state: tests compile 2017-10-23 10:56:03 +02:00
agent.go agent: increase timer for blocking cache endpoints 2018-06-14 09:42:12 -07:00
agent_endpoint.go agent: clean up defaulting of proxy configuration 2018-06-14 09:42:10 -07:00
agent_endpoint_test.go agent: clean up defaulting of proxy configuration 2018-06-14 09:42:10 -07:00
agent_test.go agent: add additional tests for defaulting in AddProxy 2018-06-14 09:42:10 -07:00
bindata_assetfs.go Update bindata_assetfs for 1.1 2018-05-11 14:56:05 -04:00
blacklist.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
blacklist_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
catalog_endpoint.go agent: clean up connect/non-connect duplication by using shared methods 2018-06-14 09:41:48 -07:00
catalog_endpoint_test.go agent: address PR feedback 2018-06-14 09:41:49 -07:00
check.go Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
config.go Fixes API client for ScriptArgs and updates documentation. (#3589) 2017-10-18 11:28:39 -07:00
connect_ca_endpoint.go Update the CA config endpoint to enable GETs 2018-06-14 09:41:59 -07:00
connect_ca_endpoint_test.go Wire up agent leaf endpoint to cache framework to support blocking. 2018-06-14 09:42:07 -07:00
coordinate_endpoint.go Merge pull request #3885 from eddsteel/support-options-requests 2018-03-16 09:20:16 -05:00
coordinate_endpoint_test.go Spelling (#3958) 2018-03-19 16:56:00 +00:00
dns.go agent: working DNS for Connect queries, I think, but have to 2018-06-14 09:41:47 -07:00
dns_test.go agent: address PR feedback 2018-06-14 09:41:49 -07:00
enterprise_delegate_oss.go Allow for easy enterprise/oss coexistence 2018-05-24 10:36:42 -04:00
event_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
event_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
health_endpoint.go agent: get rid of method checks since they're done in the http layer 2018-06-14 09:41:54 -07:00
health_endpoint_test.go agent: address PR feedback 2018-06-14 09:41:49 -07:00
http.go Add BadRequestError handling 2018-05-24 10:34:01 -04:00
http_oss.go TLS watching integrated into Service with some basic tests. 2018-06-14 09:42:07 -07:00
http_oss_test.go Close HTTP response in Agent test (HTTPAPI_MethodNotAllowed_OSS) 2018-04-10 13:18:46 -04:00
http_test.go Adds discovery_max_stale (#4004) 2018-03-30 10:14:44 -05:00
intentions_endpoint.go agent: get rid of method checks since they're done in the http layer 2018-06-14 09:41:54 -07:00
intentions_endpoint_test.go Add tests all the way up through the endpoints to ensure duplicate src/destination is supported and so ultimately deny/allow nesting works. 2018-06-14 09:41:57 -07:00
keyring.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
keyring_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
kvs_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
kvs_endpoint_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
notify.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
notify_test.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
operator_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
operator_endpoint_test.go Move autopilot to a standalone package 2017-12-11 16:45:33 -08:00
prepared_query_endpoint.go Adds discovery_max_stale (#4004) 2018-03-30 10:14:44 -05:00
prepared_query_endpoint_test.go Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
remote_exec.go Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
remote_exec_test.go Replace time.Now().Sub(x) with time.Since(x) 2017-10-17 20:38:24 +02:00
retry_join.go Use new discover and useragent libs 2018-05-25 15:52:05 -04:00
retry_join_test.go Use new discover and useragent libs 2018-05-25 15:52:05 -04:00
session_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
session_endpoint_test.go Works around mapstructure behavior to enable sessions with no checks. 2017-12-14 09:07:56 -08:00
snapshot_endpoint.go agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
snapshot_endpoint_test.go agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
status_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
status_endpoint_test.go agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
testagent.go Fill out connect CA rpc endpoint tests 2018-06-14 09:42:06 -07:00
testagent_test.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
translate_addr.go New config parser, HCL support, multiple bind addrs (#3480) 2017-09-25 11:40:42 -07:00
txn_endpoint.go Support OPTIONS requests 2018-02-12 10:15:31 -08:00
txn_endpoint_test.go agent: consolidate handling of 405 Method Not Allowed (#3405) 2017-09-25 23:11:19 -07:00
ui_endpoint.go api/ui: return tags on internal UI endpoints 2018-04-05 12:28:57 -07:00
ui_endpoint_test.go api/ui: return tags on internal UI endpoints 2018-04-05 12:28:57 -07:00
user_event.go Spelling (#3958) 2018-03-19 16:56:00 +00:00
user_event_test.go local state: tests compile 2017-10-23 10:56:03 +02:00
util.go Improves user lookup error message. 2018-01-26 07:56:44 -08:00
util_test.go Move check definition to a sub-struct 2017-11-01 14:54:46 -07:00
watch_handler.go Support legacy watch.HandlerFunc type for backward compat reduces impact of change 2018-06-14 09:42:05 -07:00
watch_handler_test.go Support legacy watch.HandlerFunc type for backward compat reduces impact of change 2018-06-14 09:42:05 -07:00