Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow downstream users to be provider agnostic #6

Open
jcgruenhage opened this issue Oct 3, 2024 · 0 comments
Open

Allow downstream users to be provider agnostic #6

jcgruenhage opened this issue Oct 3, 2024 · 0 comments

Comments

@jcgruenhage
Copy link

Right now, a developer using this library has to have some code selecting which provider to use and has to feed the parameters into the API exposed by this library themselves.

Ideally, a developer using this library could call DnsUpdater::from_env(), or something similar with a type implementing serde::Deserialize, which would give back a DNS updater based on the deserialized config or config loaded from the environment variables. This way a developer wouldn't have to care about which underlying implementation is being used at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant