Back to godoc.org

Package dns

v0.16.1
Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: Apache-2.0 | Module: github.com/jetstack/cert-manager

Index

type Solver

type Solver struct {
	*controller.Context
	// contains filtered or unexported fields
}

Solver is a solver for the acme dns01 challenge. Given a Certificate object, it determines the correct DNS provider based on the certificate, and configures it based on the referenced issuer.

func NewSolver

func NewSolver(ctx *controller.Context) (*Solver, error)

NewSolver creates a Solver which can instantiate the appropriate DNS provider.

func (*Solver) Check

func (s *Solver) Check(ctx context.Context, issuer v1alpha2.GenericIssuer, ch *cmacme.Challenge) error

Check verifies that the DNS records for the ACME challenge have propagated.

func (*Solver) CleanUp

func (s *Solver) CleanUp(ctx context.Context, issuer v1alpha2.GenericIssuer, ch *cmacme.Challenge) error

CleanUp removes DNS records which are no longer needed after certificate issuance.

func (*Solver) Present

func (s *Solver) Present(ctx context.Context, issuer v1alpha2.GenericIssuer, ch *cmacme.Challenge) error

Present performs the work to configure DNS to resolve a DNS01 challenge.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier