powerdns

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TYPE_CODE = "powerdns"

Variables

View Source
var Factory = provider.NewDNSHandlerFactory(TYPE_CODE, NewHandler).
	SetGenericFactoryOptionDefaults(provider.GenericFactoryOptionDefaults.SetRateLimiterOptions(rateLimiterDefaults))

Functions

Types

type Execution

type Execution struct {
	logger.LogContext
	// contains filtered or unexported fields
}

func NewExecution

func NewExecution(logger logger.LogContext, h *Handler, zone provider.DNSHostedZone) *Execution

type Handler

type Handler struct {
	provider.DefaultDNSHandler
	// contains filtered or unexported fields
}

func (*Handler) ExecuteRequests

func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, state provider.DNSZoneState, reqs []*provider.ChangeRequest) error

func (*Handler) GetZoneState

func (h *Handler) GetZoneState(zone provider.DNSHostedZone) (provider.DNSZoneState, error)

func (*Handler) GetZones

func (h *Handler) GetZones() (provider.DNSHostedZones, error)

func (*Handler) Release

func (h *Handler) Release()

func (*Handler) ReportZoneStateConflict

func (h *Handler) ReportZoneStateConflict(zone provider.DNSHostedZone, err error) bool

type RecordSet

type RecordSet struct {
	Name       string
	RecordType powerdns.RRType
	TTL        uint32
	Content    []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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