coredns/middleware
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 mw/*: updates docs about upstream (#968) 2017-08-22 14:56:00 +01:00
autopath core: hide registerHandler (#964) 2017-08-22 14:21:42 +01:00
bind Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
cache Misspell correction (#826) 2017-08-04 09:06:06 -07:00
chaos Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
debug Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
dnssec tests: add SortAndCheck helper (#926) 2017-08-16 15:30:58 +01:00
dnstap all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
erratic core: hide registerHandler (#964) 2017-08-22 14:21:42 +01:00
errors all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
etcd Dns.join (#944) 2017-08-19 15:22:09 +01:00
federation core: hide registerHandler (#964) 2017-08-22 14:21:42 +01:00
file mw/*: updates docs about upstream (#968) 2017-08-22 14:56:00 +01:00
health Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
hosts tests: add SortAndCheck helper (#926) 2017-08-16 15:30:58 +01:00
kubernetes mw/kubernetes: Rewrite parseRequest and Readability improvements (#939) 2017-08-22 12:44:42 -07:00
loadbalance Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
log mw/logs: add rflags to logging (#845) 2017-08-07 03:49:40 -07:00
metrics core: hide registerHandler (#964) 2017-08-22 14:21:42 +01:00
pkg mw/kubernetes: Rewrite parseRequest and Readability improvements (#939) 2017-08-22 12:44:42 -07:00
pprof Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
proxy core: hide registerHandler (#964) 2017-08-22 14:21:42 +01:00
reverse core: small cleanup (#877) 2017-08-10 05:30:18 -07:00
rewrite Fix build error with incorrect arguments to SetDo() (#856) 2017-08-08 01:29:54 -07:00
root Fix all READMEs and some other fluff (#788) 2017-07-24 08:24:53 -07:00
secondary mw/*: updates docs about upstream (#968) 2017-08-22 14:56:00 +01:00
test mw/federation: add federation back as separate mw for k8s (#929) 2017-08-18 14:45:20 +01:00
tls Fix TLS error message (#634) 2017-04-20 09:40:18 -04:00
trace all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
whoami Fix import path github.com/miekg/coredns -> github.com/coredns/coredns (#547) 2017-02-22 06:51:47 +00:00
backend.go backend.Records make it take request.Request (#943) 2017-08-19 14:03:03 +01:00
backend_lookup.go all: gometalinter (#843) 2017-08-06 05:54:24 -07:00
middleware.go core: export ClientWrite (#849) 2017-08-07 07:39:57 -07:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
normalize.go core: small cleanup (#877) 2017-08-10 05:30:18 -07:00
normalize_test.go Core: convert IP addresses to reverse zone (#838) 2017-08-07 13:24:09 -07:00