aboutsummaryrefslogtreecommitdiff
path: root/plugin/tls/tls_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-25add positive tests to TestTLS function (#5330)Gravatar Marius Kimmina 1-0/+6
Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>
2020-09-24For caddy v1 in our org (#4018)Gravatar Miek Gieben 1-2/+1
* For caddy v1 in our org This RP changes all imports for caddyserver/caddy to coredns/caddy. This is the v1 code of caddy. For the coredns/caddy repo the following changes have been made: * anything not needed by us is deleted * all `telemetry` stuff is deleted * all its import paths are also changed to point to coredns/caddy * the v1 branch has been moved to the master branch * a v1.1.0 tag has been added to signal the latest release Signed-off-by: Miek Gieben <miek@miek.nl> * Fix imports Signed-off-by: Miek Gieben <miek@miek.nl> * Group coredns/caddy with out plugins Signed-off-by: Miek Gieben <miek@miek.nl> * remove this file Signed-off-by: Miek Gieben <miek@miek.nl> * Relax import ordering github.com/coredns is now also a coredns dep, this makes github.com/coredns/caddy fit more natural in the list. Signed-off-by: Miek Gieben <miek@miek.nl> * Fix final import Signed-off-by: Miek Gieben <miek@miek.nl>
2019-07-03Update Caddy to 1.0.1, and update import path (#2961)Gravatar Yong Tang 1-1/+1
* Update Caddy to 1.0.1, and update import path This fix updates caddy to 1.0.1 and also updates the import path to github.com/caddyserver/caddy This fix fixes 2959 Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Also update plugin.cfg Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update and bump zplugin.go Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-06-25Run gofmt -s and golint on the codebase (#2918)Gravatar Miek Gieben 1-1/+1
* Run gofmt -s and golint on the codebase Run golint and fix everythign it flagged (except the context arg ordering), mostly edits in the rewrite plugin. Signed-off-by: Miek Gieben <miek@miek.nl> * ... and ofcourse the test as well Signed-off-by: Miek Gieben <miek@miek.nl>
2019-05-31make sure client CA and auth type are set if CA is explicitly specified. (#2825)Gravatar JINMEI Tatuya 1-0/+42
* make sure client CA and auth type are set if CA is explicitly specified. added some simple tests to confirm the effect. * test certificates (forgot to add them in the previous commit) * made client auth policy configurable with new client_auth option. README has been updated accordingly. * fix editorial in README
2018-05-16golinter fix (#1807)Gravatar Yong Tang 1-2/+2
This fix fixes golinter warning: ``` plugin/tls/tls_test.go:1::warning: file is not goimported (goimports) ``` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-05-04gofmt some stuff (#1769)Gravatar John Belamaric 1-2/+2
2018-04-19Update all plugins to use plugin/pkg/log (#1694)Gravatar Miek Gieben 1-6/+2
* Update all plugins to use plugin/pkg/log I wish this could have been done with sed. Alas manually changed all callers to use the new plugin/pkg/log package. * Error -> Info * Add docs to debug plugin as well
2018-02-22Fix with gofmt -s -w for plugin/tls/tls_test.go (#1552)Gravatar Yong Tang 1-2/+2
to make goreportcard happy Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2018-02-18go 1.10: update travis and gofmt (#1541)Gravatar Miek Gieben 1-2/+2
* go 1.10: update travis and gofmt fmt now complains about on file tls_test.go, fix that. Also remove gofmt, as goimports also checks, so this was done twice. Put go 1.9 and 1.10 in travis for the time being. * goimports optional
2017-09-14Remove the word middleware (#1067)Gravatar Miek Gieben 1-0/+44
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat