cert-manager/pkg
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
..
api Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
apis Merge pull request #246 from mwieczorek/azure-dns 2018-02-21 13:20:30 +00:00
client Run hack/update-codegen.sh 2018-01-15 22:07:51 +00:00
controller Merge pull request #351 from jonboulle/master 2018-03-12 10:14:09 +00:00
issuer issuer/acme/dns: refactor provider construction 2018-03-14 01:25:15 -07:00
logs Add e2e test framework and basic Issuer test 2017-09-08 16:25:21 +01:00
scheduler Enable go race detector and fix race 2017-12-01 22:54:12 +00:00
util Add ingress-shim controller to create Certificates based on annotations on ingress resources 2017-11-30 22:53:54 +00:00