aboutsummaryrefslogtreecommitdiff
path: root/middleware/kubernetes/controller.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-22 20:44:42 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2017-08-22 12:44:42 -0700
commit6a4e69eb9fd0aa02c47d74d743ae4fce292dcbb7 (patch)
treee07ebb0b33dd61c190af6b98a079cf45b91ac279 /middleware/kubernetes/controller.go
parent60d5e71a1aa3e7ff75e385600a214063a7b17d01 (diff)
downloadcoredns-6a4e69eb9fd0aa02c47d74d743ae4fce292dcbb7.tar.gz
coredns-6a4e69eb9fd0aa02c47d74d743ae4fce292dcbb7.tar.zst
coredns-6a4e69eb9fd0aa02c47d74d743ae4fce292dcbb7.zip
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
Diffstat (limited to 'middleware/kubernetes/controller.go')
0 files changed, 0 insertions, 0 deletions