dnscontrol/docs
Jakob Ackermann 2b50af0cbc
NEW PROVIDER: HETZNER DNS Console (#904)
* HETZNER: implement the provider for Hetzner DNS Console

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: apply review feedback

- add domain into error messages
- insert sub-strings using `%q`
- insert sub-errors using `%w`
- change api.getZone() signature to return a (potentially `nil`) Zone
   pointer instead of a (potentially empty) Zone value
- sort imports and confirm with `$ goimports -w providers/hetzner/`
- use exact 'api_key' term in error message of settings validation
- add blank line for logic separation
- drop internal record id from correction messages

Co-Authored-By: Tom Limoncelli <tlimoncelli@stackoverflow.com>
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: add request rate-limiting handling

There are a limited number of data-points on how their rate-limiting
 works at this time. I deduce from my account to others and use a fixed/
 constant backoff of 1s as the initial delay. Thereafter exponential
 increase with factor 2 (not needed at this time).
Hetzner has not made any official statements on rate-limiting, so this
 is guesswork only.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: address golint complaints

- baseUrl -> baseURL
- mark Record as private -> record
- mark Zone as private -> zone
- mark RequestRateLimiter as private -> requestRateLimiter
- capitalize Id fields as ID
- keep delay logic on same level, move return out of branch

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: rate_limited: init the response timestamp on requestRateLimiter

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

* HETZNER: requestRateLimiter: align local variable with struct name

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2020-10-22 09:44:21 -04:00
..
_functions Remove bug report from doc 2020-10-07 16:27:38 -04:00
_includes NEW PROVIDER: HETZNER DNS Console (#904) 2020-10-22 09:44:21 -04:00
_layouts Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
_providers NEW PROVIDER: HETZNER DNS Console (#904) 2020-10-22 09:44:21 -04:00
assets ROUTE53: Documentation for AWS Token PR (#403) 2018-09-05 09:07:28 -04:00
css Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
flattener Update github.com/StackExchange/dnscontrol/v2 2020-04-14 16:49:03 -04:00
public wip 2017-10-01 14:13:22 -04:00
_config.yml tweaks to gcloud 2017-03-12 16:02:46 -07:00
adding-new-rtypes.md Clarify dev docs (#734) 2020-05-08 10:56:58 -04:00
alias.md AZURE_DNS: Add support for Alias: AZURE_ALIAS() (#675) 2020-03-02 11:25:42 -05:00
bug-triage.md Docs: Clarify bug triage process (#606) 2020-01-28 14:36:28 -05:00
caa-builder.md General docs improvements (#481) 2019-05-20 22:33:50 -04:00
check-creds.md get-zones should comment out NAMESERVER() (#743) 2020-05-22 10:20:10 -04:00
code-tricks.md Docs: Add a page about macros and loops (#832) 2020-09-04 10:17:38 -04:00
examples.md General docs improvements (#481) 2019-05-20 22:33:50 -04:00
get-certs.md get-certs.md: correct flag names (#758) 2020-06-03 11:50:07 -04:00
get-zones.md fix get-zones code block indentation (#769) 2020-06-19 11:33:35 -04:00
getting-started.md Release 3.0.0 Candidate (#699) 2020-03-22 13:38:37 -04:00
index.md Docs: Add a page about macros and loops (#832) 2020-09-04 10:17:38 -04:00
js.md Website fixes (Part 1) (#223) 2017-10-11 08:33:17 -04:00
migrating.md get-zone documentation and help fixes (#766) 2020-06-18 09:37:09 -04:00
nameservers.md DOCS: Better document nameserver scenarios (#868) 2020-09-21 09:26:24 -04:00
notifications.md Notifications: Add support for Microsoft Teams (#812) 2020-08-14 12:23:54 -04:00
opinions.md Add SIP/JABBER labels to underscore exception list (#453) 2019-03-04 12:11:25 -05:00
provider-list.md NEW PROVIDER: HETZNER DNS Console (#904) 2020-10-22 09:44:21 -04:00
release-engineering.md Fix version 2020-10-12 12:55:10 -04:00
runDocker.sh adding docs again 2017-01-11 13:02:45 -07:00
spf-optimizer.md SPF Optimizer: Enable the use of TXTMulti records to support longer SPF records (#794) 2020-07-31 13:28:13 -04:00
toc.md Fix spf-optimizer TOC link (#434) 2018-12-29 10:28:41 -05:00
unittests.md DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00
why-the-dot.md DOCS: Fix many spelling errors (#471) 2019-05-11 21:32:52 -04:00
writing-providers.md Internal: deps updates and linting (#905) 2020-10-18 14:04:50 -04:00