consul/agent
Frank Schröder a3934c263c acl: consolidate error handling (#3401)
The error handling of the ACL code relies on the presence of certain
magic error messages. Since the error values are sent via RPC between
older and newer consul agents we cannot just replace the magic values
with typed errors and switch to type checks since this would break
compatibility with older clients.

Therefore, this patch moves all magic ACL error messages into the acl
package and provides default error values and helper functions which
determine the type of error.
2017-08-23 16:52:48 +02:00
..
consul acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
metadata agent: move agent/consul/agent to agent/metadata 2017-08-09 14:36:52 +02:00
mock agent: replace docker check 2017-07-18 20:24:38 +02:00
pool agent: move conn pool for muxed connections into separate pkg 2017-06-21 05:42:39 +02:00
router agent: drop unused code 2017-08-22 00:02:46 +02:00
structs agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02: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 acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
acl_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
agent.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
agent_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
agent_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
agent_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
bindata_assetfs.go UI cleanup follow up from #3245. (#3251) 2017-07-10 09:40:00 -07: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: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
catalog_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
check_test.go agent: replace docker check 2017-07-18 20:24:38 +02:00
config.go agent: honor deprecated flags for retry-join-{ec2,azure,gce} (#3384) 2017-08-09 16:18:30 -07:00
config_test.go agent: honor deprecated flags for retry-join-{ec2,azure,gce} (#3384) 2017-08-09 16:18:30 -07:00
coordinate_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
coordinate_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
dns.go dns: replace nameserver lookup with consistent rpc call 2017-08-22 00:02:46 +02:00
dns_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
docker.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_unix.go agent: make docker client work on windows 2017-07-19 12:03:59 +02:00
docker_windows.go agent: replace docker check 2017-07-18 20:24:38 +02:00
event_endpoint.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
event_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
health_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
health_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
http.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
http_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
keyring.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
keyring_test.go Prevents disabling gossip keyring file from disabling gossip encryption. (#3278) 2017-07-17 12:48:45 -07:00
kvs_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
kvs_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
local.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
local_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02: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 agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
operator_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
prepared_query_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
remote_exec.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
remote_exec_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
retry_join.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
retry_join_test.go agent: fix code for updated go-discover signature 2017-08-03 21:32:11 +02:00
session_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
session_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
snapshot_endpoint_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
status_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
testagent.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
translate_addr.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
txn_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
txn_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
ui_endpoint.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
ui_endpoint_test.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
user_event.go agent: move agent/consul/structs to agent/structs 2017-08-09 14:32:12 +02:00
user_event_test.go acl: consolidate error handling (#3401) 2017-08-23 16:52:48 +02:00
util.go agent: Fix script quoting on windows (#1875) 2017-08-02 17:01:21 +02:00
util_other.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
util_test.go pkg refactor 2017-06-10 18:52:45 +02:00
util_windows.go Cleans up some go fmt issues. 2017-08-08 21:52:50 -07:00
watch_handler.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00