diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-02-07 21:59:25 -0700 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-02-07 21:59:25 -0700 |
commit | f7f6e371efcc6ddbbef56cd02c9e02fbcede033f (patch) | |
tree | 4da278ef960f1c488d7c579ba220e10fca2e49b0 /cmd/commands.go | |
parent | b8cf4d589773e918606a20cf51776ca3cfc1233c (diff) |
tls: Slight adjustment to how DNS provider modules are loaded
We don't load the provider directly, because the lego provider types
aren't designed for JSON configuration and they are not implemented
as Caddy modules (there are some setup steps which a Provision call
would need to do, but they do not have Provision methods, they have
their own constructor functions that we have to wrap).
Instead of loading the challenge providers directly, the modules are
simple wrappers over the challenge providers, to facilitate the JSON
config structure and to provide a consistent experience. This also lets
us swap out the underlying challenge providers transparently if needed;
it acts as a layer of abstraction.
Diffstat (limited to 'cmd/commands.go')
0 files changed, 0 insertions, 0 deletions