[plugin/route53]: Support batch mode operation. (#2050)

* [plugin/route53]: Support batch mode operation.

Cache all Route53 records internally using `ListResourceRecordPagesWithContext`
and serve them from memory.

Bonus features:

  * Support additional r53 record types (`CNAME`, `SOA`, etc)
  * Support `upstream` option (#2099 filed to support argument optionality)

Signed-off-by: Dmitry Ilyevskiy <dmitry.ilyevskiy@getcruise.com>
Signed-off-by: Dmitry Ilyevskiy <ilyevsky@gmail.com>
This commit is contained in:
dilyevsky
2018-09-17 11:19:07 -07:00
committed by GitHub
parent 4ac06a342b
commit 153bd5f767
6 changed files with 366 additions and 151 deletions

11
Gopkg.lock generated
View File

@@ -330,6 +330,15 @@
packages = ["codec"]
revision = "f3cacc17c85ecb7f1b6a9e373ee85d1480919868"
[[projects]]
branch = "master"
name = "github.robot.car/cruise/coredns"
packages = [
"plugin/file",
"plugin/pkg/log"
]
revision = "18a77cd04557b810eba96a7239d39ee2d7a92157"
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
@@ -582,6 +591,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "851e08825d02558de62afea288af58e89bc67fe93a534c5e81f487e35328df22"
inputs-digest = "9c6559abfab43b450cf71b6cb95c0ba93fac74999a8cdc341ea725e82c29cebf"
solver-name = "gps-cdcl"
solver-version = 1