feat: add mode selecting (#15)
All checks were successful
CD / test (push) Successful in 44s
CD / Build and push (push) Successful in 3m5s

Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #15.
This commit is contained in:
2024-12-23 14:17:46 +01:00
committed by t.behrendt
parent e84a409d82
commit ac786f533d
14 changed files with 150 additions and 112 deletions

View File

@@ -1,16 +1,15 @@
---
ip_provider:
type: plain
config:
url: https://ifconfig.me
url: https://example.com
dns_provider:
type: ionos
config:
api_key: exampleAPIKey
api_key: exampleapikey
base_url: https://example.com
domains:
- tld: example.com
subdomains:
- "@"
- www
check_interval: 0 0 0/6 * * * *
check_interval: 0 0 * * * *
mode: RunOnce

View File

@@ -0,0 +1,2 @@
mode: "InvalidMode"
check_interval: "5m"

View File

@@ -0,0 +1,3 @@
mode: "Scheduled"
check_interval: "5m"
- invalid_content

View File

@@ -0,0 +1,3 @@
mode: "Scheduled"
ip_provider:
type: "plain"