open-consul/command/agent
Frank Schroeder b05a875119
agent: refactor tests for TestAgent
Refactored tests that use

 * makeAgentXXX
 * makeDNSServerXXX
 * makeHTTPServerXXX
2017-05-31 00:29:23 +02:00
..
acl.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
acl_endpoint.go Use fmt.Fprint/Fprintf/Fprintln 2017-04-20 09:02:59 -07:00
acl_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
acl_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
agent.go agent: simplify agent creation 2017-05-31 00:29:23 +02:00
agent_endpoint.go agent: simplify agent creation 2017-05-31 00:29:23 +02:00
agent_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
agent_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
bindata_assetfs.go Updates built-in static assets for web UI. 2017-05-08 19:50:54 -07:00
catalog_endpoint.go api: Return empty list instead of nil 2017-04-28 15:00:08 -07:00
catalog_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
check.go agent: support custom check id and name 2017-05-17 20:17:08 +02:00
check_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
command.go agent: simplify agent creation 2017-05-31 00:29:23 +02:00
command_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
config.go agent: move http/dns endpoints into agent 2017-05-31 00:29:23 +02:00
config_aws.go Move AWS discovery code to command/agent/config_aws.go 2017-05-04 01:41:47 +02:00
config_azure.go doc: update comments and run goimports 2017-05-24 10:20:28 +02:00
config_gce.go Move GCE discovery code to command/agent/config_gce.go 2017-05-04 01:41:47 +02:00
config_test.go agent: simplify socket address helper 2017-05-31 00:29:22 +02:00
coordinate_endpoint.go golint: Drop the unused value from range 2017-04-25 09:26:13 -07:00
coordinate_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
dns.go Merge pull request #2690 from zeroae/f-simple-rfc2782 2017-03-02 14:49:36 -08:00
dns_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
event_endpoint.go Use fmt.Fprint/Fprintf/Fprintln 2017-04-20 09:02:59 -07:00
event_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
flag_slice_value.go
flag_slice_value_test.go Revert "test: Run command/agent tests in parallel" 2017-04-27 14:39:04 -07:00
health_endpoint.go api: Return empty list instead of nil 2017-04-28 15:00:08 -07:00
health_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
http.go agent: move http/dns endpoints into agent 2017-05-31 00:29:23 +02:00
http_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
keyring.go agent: Replace client/server with delegate interface 2017-05-15 18:35:38 +02:00
keyring_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
kvs_endpoint.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kvs_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
listen.go agent: move http/dns endpoints into agent 2017-05-31 00:29:23 +02:00
local.go golint: Drop the unused value from range 2017-04-25 09:26:13 -07:00
local_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
operator_endpoint.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
operator_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
prepared_query_endpoint.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
prepared_query_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
remote_exec.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
remote_exec_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
session_endpoint.go golint: Drop the unused value from range 2017-04-25 09:26:13 -07:00
session_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
snapshot_endpoint.go
snapshot_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
status_endpoint.go
status_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
structs.go agent: support custom check id and name 2017-05-17 20:17:08 +02:00
structs_test.go Revert "test: Run command/agent tests in parallel" 2017-04-27 14:39:04 -07:00
testagent.go agent: add TestAgent to replace other mechanisms 2017-05-31 00:29:23 +02:00
translate_addr.go
txn_endpoint.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
txn_endpoint_test.go test: drop error check on http.NewRequest 2017-05-10 17:42:38 +02:00
ui_endpoint.go Remove duplicate constants 2017-04-20 09:54:49 -07:00
ui_endpoint_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
user_event.go Changes `disable_remote_exec` default to true so remote exec is opt-in. 2017-03-30 09:43:32 -07:00
user_event_test.go agent: refactor tests for TestAgent 2017-05-31 00:29:23 +02:00
util.go Remove the RPC client interface and update docs 2017-02-28 13:41:09 -08:00
util_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
watch_handler.go
watch_handler_test.go Revert "test: Run command/agent tests in parallel" 2017-04-27 14:39:04 -07:00