cert-manager/pkg/issuer
Euan Kemp 78b1b8d69d issuer/acme/dns: refactor provider construction
Previously, each provider's package-level 'New' function was being
called.

That made mocking it out for a different function that records data or
returns different output quite difficult.

This PR introduces an additional layer of abstraction in the form of
effectively a vtable struct for the dns providers. It's defaulted to the
same package-level constructors as before, but unit tests in the dns
package can easily override it.

A new test for the previously-introduced route53 trimming behavior is
also added.
2018-03-14 01:25:15 -07:00
..
acme issuer/acme/dns: refactor provider construction 2018-03-14 01:25:15 -07:00
ca Bundle the CA public key in issued certificate 2018-02-18 21:28:22 +01:00
const.go Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
context.go Update third_party import paths 2018-01-15 22:07:51 +00:00
factory.go Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
issuer.go Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
register.go Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00