Logo
Explore Help
Sign In
Mirrors/coredns
1
0
Fork 0
You've already forked coredns
mirror of https://github.com/coredns/coredns.git synced 2026-04-05 11:45:33 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
6d6c50db3a47e5af5ec463fa3d4b94cb677cb880
coredns/plugin/erratic/autopath.go

9 lines
254 B
Go
Raw Normal View History

mw/autopath: integration test with erratic (#930) Add integration test with erratic. For this erratic now also returns an autopath searchpath. This tests the whole chain; i.e registring a searchfunction and calling that from autopath. This tests does a autopathing domain and a non-autopathing one.
2017-08-18 12:57:23 +01:00
package erratic
import "github.com/coredns/coredns/request"
Remove the word middleware (#1067) * 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
2017-09-14 09:36:06 +01:00
// AutoPath implements the AutoPathFunc call from the autopath plugin.
lint(revive): fix unused-parameter violations (#7980)
2026-03-30 03:02:20 +03:00
func (e *Erratic) AutoPath(_state request.Request) []string {
mw/autopath: integration test with erratic (#930) Add integration test with erratic. For this erratic now also returns an autopath searchpath. This tests the whole chain; i.e registring a searchfunction and calling that from autopath. This tests does a autopathing domain and a non-autopathing one.
2017-08-18 12:57:23 +01:00
return []string{"a.example.org.", "b.example.org.", ""}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 82ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API