coredns/middleware
John Belamaric b10a4f9075 Common tls (#474)
* Add common TLS config routines

These routines can be used to load TLS configs based upon the
args in the Corefile.

* Add common routine for Corefile arg handling

Add the NewTLSConfigFromArgs routine so that you can just pass
in the Corefile args and get a tls.Config. This ensures the
parameters are handled consistently across middleware.

* Change to varargs style params

Change to use args ...string instead of []string. Add
documentation of what each call means.
2017-01-10 10:18:34 -05:00
..
auto Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
bind docs: rewrite using manpage style (#327) 2016-10-10 20:13:22 +01:00
cache Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
chaos Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
dnssec Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
erratic Add middleware/erratic (#471) 2017-01-06 09:42:30 +00:00
errors Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
etcd Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
file Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
health docs: rewrite using manpage style (#327) 2016-10-10 20:13:22 +01:00
httpproxy middleware/httpproxy: disable v6 lookup 2016-11-30 20:44:45 +00:00
kubernetes handle A/PTR/SRV for headless services/endpoints (#464) 2017-01-05 15:09:59 +00:00
loadbalance Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
log Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
metrics Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
pkg Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
pprof docs: rewrite using manpage style (#327) 2016-10-10 20:13:22 +01:00
proxy Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
rewrite Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
root middleware/httpproxy: add debug queries (#446) 2016-11-29 09:54:57 +00:00
secondary middleware/root: add it (#330) 2016-10-11 20:42:28 +01:00
test Common tls (#474) 2017-01-10 10:18:34 -05:00
tls Common tls (#474) 2017-01-10 10:18:34 -05:00
whoami Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
backend.go Fix various issues with formatting and typos (#424) 2016-11-13 14:03:12 +00:00
backend_lookup.go Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
middleware.go Add middleware.NextOrFailure (#462) 2016-12-20 18:58:05 +00:00
middleware_test.go Use context.Context 2016-03-19 07:32:50 +00:00
normalize.go middleware/metrics: cleanup (#355) 2016-10-26 10:01:52 +01:00
normalize_test.go Add tests for normalize.go 2016-09-07 12:55:41 +00:00