Commit Graph

12 Commits

Author SHA1 Message Date
Markus Cisler
14d64e09f2 Change DomainFilter to apply to records as well
This moves `domain_filter.go` to the `endpoint` package to make it
possible to filter and exclude record names in
`plan.filterRecordsForPlan()` so it does not have to be implemented in
every single provider.

Because some providers access `DomainFilter.filters` directly it had to
be exported.
2020-02-24 11:19:45 +01:00
Oguz Kilcan
21275c9aa0
Updated minTTL variable type from int64 to Duration 2020-02-12 12:18:18 +01:00
Oguz Kilcan
b6111b9768
Refactoring after review
* Updated TTL variable type to int64
* Updated rfc2136 contructor to have nil as last variable
* Removed unnecessary variable `data`
2020-02-11 10:41:09 +01:00
Oguz Kilcan
c0c733b4bf
Fixed issue to pass linting 2020-02-06 18:46:24 +01:00
Oguz Kilcan
86c9332b17
Add option to define minimum TTL for rfc2136 provider 2020-02-06 18:23:28 +01:00
tariqibrahim
672b00d821 add ctx parameter to provider interface and aws API 2020-01-12 13:16:55 -08:00
Tariq Ibrahim
41ba7f1ff5
rename project root package to sigs.k8s.io 2020-01-06 08:08:35 -08:00
Nick Jüttner
f763d2a413 Move into kubernetes-sigs organization (#1245)
* Move into kubernetes-sigs organization

* Disable labeler action for forks
2019-11-01 17:10:19 +01:00
NIPE-SYSTEMS
ffc0059f0b
Fix tests in RFC2136
This fixes and adds some tests for the RFC2136 provider. The SendMessage stub
function is improved with better DNS message parsing. Also a new test is
introduced which simulates a single record with multiple targets. Also the test
for ApplyChanges is fixed for the new batch updating.
2019-08-24 11:10:27 +02:00
Michael Fraenkel
fab942f486 Cache the endpoints on the controller loop
The controller will retrieve all the endpoints at the beginning of its
loop. When changes need to be applied, the provider may need to query
the endpoints again. Allow the provider to skip the queries if its data was
cached.
2019-05-07 19:51:53 -04:00
Lachlan Cooper
d93f6ec24e Fix typos in rfc2136 provider
The rfc2136Actions interface was misspelled.

Signed-off-by: Lachlan Cooper <lachlancooper@gmail.com>
2019-01-04 10:49:20 +11:00
Vladislav Troinich
d32a03ad32 Add couple of tests for RFC2136 provider 2018-09-24 10:52:28 +03:00