76286b6388
config.go: iterate slices via indices to get pointers instead of copies
...
continuous-integration/drone/push Build is passing
Iterating over a slice returns a copy of the respective member instead
of a reference to the original slice member. Thus, any modification are
discarded and the pointers saved inside cfg.users and cfg.rrconfigs are
incorrect, too.
2021-09-11 22:14:39 +02:00
e15da33296
config.go: improve config validation
...
Also check whether there are no users/records and if records have an
actual user associated with them.
2021-09-11 22:14:39 +02:00
41107cdc2e
config.go: externalize config preparation for more convenient testing
2021-09-11 22:14:39 +02:00
451776bde0
restructure config to allow user credentials to update multiple records
...
This commit separates user credentials from resource record configs to
allow user credentials to be used for multiple records instead of one.
2021-09-10 11:11:56 +02:00
ef22e29cef
rewrite most code; removes database to solely rely on config file
2021-07-13 13:36:37 +02:00