Commit Graph

20 Commits

Author SHA1 Message Date
Michael Lescisin
ed3efdb260 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Refactor so that the BuildDnsimpleProvider method can be removed and the NewDnsimpleProvider method be used exclusively instead
2024-03-15 18:45:21 -04:00
Michael Lescisin
487501d923 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Refactor the BuildDnsimpleProvider method so that the dnsimpleAccountId variable, which was only used once, can be removed
2024-03-15 18:45:21 -04:00
Michael Lescisin
660b20b442 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Refactor the BuildDnsimpleProvider method so that it no longer needs the skipWhoami bool parameter
2024-03-15 11:37:51 -04:00
Michael Lescisin
9c24ecc108 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Refactor the BuildDnsimpleProvider method so that it no longer needs the skipWhoami bool parameter
2024-03-15 11:07:23 -04:00
Michael Lescisin
c54a9a8df2 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Fix code linting error - remove () from ZonesFromZoneString which only returns one value
2024-03-14 20:45:21 -04:00
Michael Lescisin
eb59b9bd4d Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Fix code linting error - use !skipWhoami instead of skipWhoami == false
2024-03-14 20:23:00 -04:00
Michael Lescisin
acf188f719 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Update tests to check that the BuildDnsimpleProvider function (called by the NewDnsimpleProvider function) handles the DNSIMPLE_ACCOUNT_ID environment variable properly
2024-02-26 12:13:30 -05:00
Michael Lescisin
3babcbcd72 Fix provider/dnsimple/dnsimple_test.go: Add the missing call to NewDnsimpleProvider for testing its behavior when the DNSIMPLE_OAUTH environment variable is not set 2024-02-26 12:02:29 -05:00
Michael Lescisin
d475eb6557 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Small refactoring to NewDnsimpleProvider function to improve its testability
2024-02-26 11:54:52 -05:00
Michael Lescisin
d0c121b97c Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Update tests to check that the dnsimpleSuitableZone function works properly when the DNSIMPLE_ZONES environment variable is set
2024-02-26 11:37:56 -05:00
Michael Lescisin
26694e4b26 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Update tests to check that the Zones function returns the correct DNS zones when the DNSIMPLE_ZONES environment variable is set
2024-02-26 11:24:08 -05:00
Michael Lescisin
9b3c285776 Allow for DNSimple User API tokens to be used by implementing the DNSIMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables 2024-02-20 17:26:16 -05:00
Alfred Krohmer
366c070d89 cleanup: remove dead code ((Create|Update|Delete)Records functions in AWS, Google, DNSimple)
These functions where exported but unused; only `CreateRecords` was used in some tests, but its use can be replaced with `ApplyChanges`.
2023-12-20 16:55:49 +01:00
Michel Loiseleur
d68fd0217b feat: upgrade ExternalDNS to go 1.21 2023-09-08 10:57:23 +02:00
Andy Bursavich
74ffff6c26 gofumpt 2022-09-20 20:48:57 -07:00
Nick Jüttner
3388e3ddf1 improve linter quality for external-dns 2020-06-06 22:29:24 +02:00
Adam Stankiewicz
f008e894df Allow for custom property comparators
Fixes issue #1463

Co-authored-by: Alastair Houghton <alastair@alastairs-place.net>
2020-05-12 16:27:46 +02:00
Raffaele Di Fazio
9748af141e Merge branch 'master' into raffo/provider-structure-refactor 2020-05-11 09:07:36 +02:00
Raffaele Di Fazio
82539e35a3 makes tests pass
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-05-08 13:54:13 +02:00
Raffaele Di Fazio
db4224c705 restructures the providers (build only)
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-05-08 13:05:17 +02:00