dns

package
v1.14.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

package dns contains a framework for testing ACME DNS solver implementations. Used by both internal and external solvers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFixture

func NewFixture(solver webhook.Solver, opts ...Option) *fixture

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 SetAllowAmbientCredentials

func SetAllowAmbientCredentials(b bool) Option

func SetConfig

func SetConfig(i interface{}) Option

func SetDNSChallengeKey

func SetDNSChallengeKey(s string) Option

SetDNSChallengeKey defines the value of the acme challenge string.

func SetDNSName

func SetDNSName(s string) Option

SetDNSName defines the domain name to be used in the webhook integration tests.

func SetDNSServer

func SetDNSServer(s string) Option

func SetManifestPath

func SetManifestPath(s string) Option

func SetPollInterval

func SetPollInterval(d time.Duration) Option

func SetPropagationLimit

func SetPropagationLimit(d time.Duration) Option

func SetResolvedFQDN

func SetResolvedFQDN(s string) Option

func SetResolvedZone

func SetResolvedZone(s string) Option

func SetStrict

func SetStrict(s bool) Option

func SetUseAuthoritative

func SetUseAuthoritative(s bool) Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL