aboutsummaryrefslogtreecommitdiff
path: root/plugin/nsid (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-07-19Clean up tests logging (#1979)Gravatar Miek Gieben 1-0/+5
* Clean up tests logging This cleans up the travis logs so you can see the failures better. Older tests in tests/ would call log.SetOutput(ioutil.Discard) in a haphazard way. This add log.Discard and put an `init` function in each package's dir (no way to do this globally). The cleanup in tests/ is clear. All plugins also got this init function to have some uniformity and kill any (future) logging there in the tests as well. There is a one-off in pkg/healthcheck because that does log. Signed-off-by: Miek Gieben <miek@miek.nl> * bring back original log_test.go Signed-off-by: Miek Gieben <miek@miek.nl> * suppress logging here as well Signed-off-by: Miek Gieben <miek@miek.nl>
2018-04-22all: fix plugin import ordering (#1717)Gravatar Miek Gieben 2-4/+2
Got a bit messed up with stb lib "context" usage.
2018-04-20global: move to context (#1699)Gravatar Miek Gieben 2-2/+4
* global: move to context Move from golang.org/x/net/context to std lib's context. Change done with: for i in $(grep -l '/context' **/*.go); do sed -e 's|golang.org/x/net/context|context|' -i $i; echo $i; done for i in **/*.go; do goimports -w $i; done * drop from dns.pb.go as well
2018-02-28return an error for multiple use of some plugins (#1559)Gravatar Miek Gieben 3-19/+23
* plugins: Return error for multiple use of some Return plugin.ErrOnce when a plugin that doesn't support it, is called mutliple times. This now adds it for: cache, dnssec, errors, forward, hosts, nsid. And changes it slightly in kubernetes, pprof, reload, root. * more tests
2018-02-08Add OWNERS file (#1486)Gravatar Miek Gieben 1-0/+4
This should have everyone, but the process was quite manual. The rename from middleware -> plugin also meant I had to do some extra digging on who actually submitted the PR. I also double checked the current list of people with commit access. Every plugin now has an OWNERS, except *reverse*. I'll file a bug for that.
2018-01-04Manual pages (#1346)Gravatar Miek Gieben 1-1/+5
* Add manual pages Generate manual pages from the README and extend README with Name and Description sections. The generation requires 'ronn' which may not be available. Just check in all generated manual pages.
2017-12-09plugin/nsid: Small doc cleanup (#1293)Gravatar Miek Gieben 2-4/+22
add an example and some typos fixed.
2017-12-04Update docs with missing `~` (#1276)Gravatar Yong Tang 1-4/+4
Looks like the last commit missed a `~` in the docs. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-12-04Add NSID plugin support for CoreDNS (#1273)Gravatar Yong Tang 5-0/+260
* Add NSID plugin support for CoreDNS This fix adds NSID plugin support for CoreDNS, as was proposed in 1256. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add test cases for NSID plugin Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Generate code for NSID plugin Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Use hostname as the default (as with bind), and remove unneeded copy Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add README.md Signed-off-by: Yong Tang <yong.tang.github@outlook.com>