rfc2136

package
Version: v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSProvider

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

DNSProvider is an implementation of the acme.ChallengeProvider interface that uses dynamic DNS updates (RFC 2136) to create TXT records on a nameserver.

func NewDNSProviderCredentials

func NewDNSProviderCredentials(nameserver, tsigAlgorithm, tsigKeyName, tsigSecret string) (*DNSProvider, error)

NewDNSProviderCredentials uses the supplied credentials to return a DNSProvider instance configured for rfc2136 dynamic update. To disable TSIG authentication, leave the TSIG parameters as empty strings. nameserver must be a network address in the form "IP" or "IP:port".

func (*DNSProvider) CleanUp

func (r *DNSProvider) CleanUp(_, fqdn, zone, value string) error

CleanUp removes the TXT record matching the specified parameters

func (*DNSProvider) Present

func (r *DNSProvider) Present(_, fqdn, zone, value string) error

Present creates a TXT record using the specified parameters

type Option

type Option func(*Solver)

func WithNamespace

func WithNamespace(ns string) Option

type Solver

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

func New

func New(opts ...Option) *Solver

func (*Solver) CleanUp

func (s *Solver) CleanUp(ch *whapi.ChallengeRequest) error

func (*Solver) Initialize

func (s *Solver) Initialize(kubeClientConfig *restclient.Config, stopCh <-chan struct{}) error

func (*Solver) Name

func (s *Solver) Name() string

func (*Solver) Present

func (s *Solver) Present(ch *whapi.ChallengeRequest) error

Jump to

Keyboard shortcuts

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