challenge

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider implements go-acme/lego Provider interface which is used for ACME DNS challenge handling

func NewChallengeProvider

func NewChallengeProvider(servers []*dns.Server) Provider

NewChallengeProvider creates a new instance of ChallengeProvider

func (*Provider) CleanUp

func (c *Provider) CleanUp(ctx context.Context, challenge acme.Challenge) error

CleanUp is called after the run to remove the ACME DNS challenge tokens from DNS records

func (*Provider) Present

func (c *Provider) Present(ctx context.Context, chall acme.Challenge) error

Present is used for making the ACME DNS challenge token available for DNS

func (*Provider) Wait

func (c *Provider) Wait(ctx context.Context, challenge acme.Challenge) error

Wait is a dummy function as we are just going to be ready to answer the challenge from the get-go

Jump to

Keyboard shortcuts

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