coredns/test
Miek Gieben 6a4e69eb9f mw/kubernetes: Rewrite parseRequest and Readability improvements (#939)
* mw/kubernetes: rewrite parseRequest

Stop looking at the qtype in parseRequest and make k.Namespace a map.
Fallout from this is that pkg/strings as it is not used anymore. Also
add a few helper functions to make unexposed namespaces easier to see in
the code.

Add wildcard tests to the middleware tests.

* Fix tests

Add a whole bunch of comments to document what we are trying to do.

* This is now answered

* up coverage

* duh

* Update testcase

* Make it nodata
2017-08-22 12:44:42 -07:00
..
auto_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
cache_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
chaos_test.go middleware/chaos: fix version (#669) 2017-05-22 08:09:35 -04:00
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
ds_file_test.go tests: add SortAndCheck helper (#926) 2017-08-16 15:30:58 +01:00
erratic_autopath_test.go mw/autopath: integration test with erratic (#930) 2017-08-18 12:57:23 +01:00
etcd_cache_debug_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
etcd_test.go mw/kubernetes: remove federation and cidr (#916) 2017-08-14 08:49:26 +01:00
example_test.go middleware/file: add test for SRV additional (#616) 2017-04-13 16:25:16 +01:00
external_test.go all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
file.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
file_cname_proxy_test.go middleware/file: correctly parse the stanza (#658) 2017-05-03 16:36:41 +01:00
file_reload_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00
file_srv_additional_test.go middleware/file: add test for SRV additional (#616) 2017-04-13 16:25:16 +01:00
file_test.go Run tests in parallel (#478) 2017-01-12 08:13:50 +00:00
grpc_test.go cleanup: go vet and golint run (#736) 2017-06-14 09:37:10 -07:00
kubernetes_test.go mw/kubernetes: Rewrite parseRequest and Readability improvements (#939) 2017-08-22 12:44:42 -07:00
metrics_test.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
middleware_dnssec_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
middleware_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
miek_test.go middleware/file: fix DS handling (#344) 2016-10-19 17:46:03 +01:00
proxy_health_test.go middleware/proxy: remove singleinflight from dns (#717) 2017-06-08 16:06:14 +01:00
proxy_http_health_test.go middleware/proxy: fix race; add Go 1.7 backward compatibility (#603) 2017-03-17 07:20:55 +00:00
proxy_test.go mw/file: rename to BenchmarkFileLookup (#741) 2017-06-18 19:50:38 +01:00
reload_test.go cleanup: go vet and golint run (#736) 2017-06-14 09:37:10 -07:00
reverse_test.go Core: convert IP addresses to reverse zone (#838) 2017-08-07 13:24:09 -07:00
rewrite_test.go Rewrite edns0 (#561) 2017-03-06 21:32:17 +00:00
secondary_net_test.go middleware/secondary: multiple fixes (#745) 2017-06-21 23:46:20 -07:00
secondary_test.go middleware/secondary: fix crash with no zone (#680) 2017-06-01 12:33:40 +01:00
server.go Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
server_test.go Run tests in parallel (#478) 2017-01-12 08:13:50 +00:00
wildcard_test.go Fix resolving CNAME with no proxy (#564) 2017-03-02 19:35:44 +00:00