Documentation ¶
Overview ¶
package dns contains a framework for testing ACME DNS solver implementations. Used by both internal and external solvers.
Index ¶
- func NewFixture(solver webhook.Solver, opts ...Option) *fixture
- type Option
- func SetAllowAmbientCredentials(b bool) Option
- func SetConfig(i interface{}) Option
- func SetDNSChallengeKey(s string) Option
- func SetDNSName(s string) Option
- func SetDNSServer(s string) Option
- func SetManifestPath(s string) Option
- func SetPollInterval(d time.Duration) Option
- func SetPropagationLimit(d time.Duration) Option
- func SetResolvedFQDN(s string) Option
- func SetResolvedZone(s string) Option
- func SetStrict(s bool) Option
- func SetUseAuthoritative(s bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFixture ¶
NewFixture constructs a new *fixture, applying the given Options before returning. Solver is an implementation of https://github.com/cert-manager/cert-manager/blob/v1.11.0/pkg/acme/webhook/webhook.go#L27-L45 and could be RFC2136 solver or any of external solvers that run these conformance tests.
Types ¶
type Option ¶
type Option func(*fixture)
Option applies a configuration option to the test fixture being built
func SetDNSChallengeKey ¶
SetDNSChallengeKey defines the value of the acme challenge string.
func SetDNSName ¶
SetDNSName defines the domain name to be used in the webhook integration tests.
func SetDNSServer ¶
func SetManifestPath ¶
func SetPollInterval ¶
func SetPropagationLimit ¶
func SetResolvedFQDN ¶
func SetResolvedZone ¶
func SetUseAuthoritative ¶
Click to show internal directories.
Click to hide internal directories.