coredns/plugin
Miek Gieben 1d5095cf67
plugin/file: Rename do to walk and cleanup and document (#2987)
* plugin/file: Rename do to walk, cleanup and document

* This renames Do to Walk to be more inline with Go standards. Also make
  it return an error instead of a bool.
  Also give give walk access to rrs. Alternatively e.m could be
  exported, but just access the map of rrs should work as well. Another
  alternative would be adding a whole bunch of helper functions, but
  those need grab and return the data. Just having access to the rrs
  should be easiest for most Walks.
* It adds Type and TypeForWildcard to show the different functions
* *Removes* the identical RR check when inserting; this was only done
  for A, AAAA and MX and not finished; removed under the mantra garbage
  in garbage out.
* Reuses Types to return all the types in an *tree.Elem

Signed-off-by: Miek Gieben <miek@miek.nl>

* better comments

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-18 17:44:47 +00:00
..
any Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
auto Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
autopath Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
bind Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
cache Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
cancel Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
chaos gofmt fix for No newline at end of file (#2973) 2019-07-04 07:50:49 +01:00
debug Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
deprecated Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
dnssec Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
dnstap Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
erratic Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
errors Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
etcd gofmt fix for No newline at end of file (#2973) 2019-07-04 07:50:49 +01:00
federation Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
file plugin/file: Rename do to walk and cleanup and document (#2987) 2019-07-18 17:44:47 +00:00
forward Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
grpc Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
health Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
hosts Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
import Trivial fix typo (#2590) 2019-02-21 07:23:34 +00:00
k8s_external Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
kubernetes ISSUE-2911 (#2923) 2019-07-03 20:39:12 +01:00
loadbalance Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
log Fix log plugin benchmark and slightly improve performance (#3004) 2019-07-16 19:00:22 +00:00
loop Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
metadata plugin/template: support metadata (#2958) 2019-07-03 16:10:56 +01:00
metrics Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
nsid Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
pkg replacer: evaluate format once and improve perf by ~3x (#3002) 2019-07-17 06:57:46 +00:00
pprof Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
ready Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
reload Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
rewrite rewrite: remove condition file (#3003) 2019-07-14 08:44:00 +00:00
root Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
route53 plugin/route53: small doc cleanups (#3016) 2019-07-17 13:40:15 -07:00
secondary Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
template plugin/template: support metadata (#2958) 2019-07-03 16:10:56 +01:00
test Publish metadata from kubernetes plugin (#2829) 2019-06-09 08:10:57 +01:00
tls Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
trace Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
whoami Update Caddy to 1.0.1, and update import path (#2961) 2019-07-03 09:04:47 +08:00
backend.go Remove context.Context from request.Request (#2726) 2019-03-26 14:37:30 +00:00
backend_lookup.go Remove context.Context from request.Request (#2726) 2019-03-26 14:37:30 +00:00
done.go plugin/cancel: add context cancelation plugin (#2711) 2019-03-29 19:40:23 +00:00
log_test.go Clean up tests logging (#1979) 2018-07-19 16:23:06 +01:00
normalize.go plugin/kubernetes: fix case preservation and add test (#2430) 2019-01-08 08:30:03 -05:00
normalize_test.go Stop importing testing in the main binary (#2479) 2019-01-19 11:23:13 +00:00
plugin.go Update plugin.go (#2894) 2019-06-17 20:01:06 +01:00