freedns

package module
v0.0.0-...-5376b95 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

README

external-dns-provider-freedns

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FreeDNSProvider

type FreeDNSProvider struct {
	provider.BaseProvider
	Client *freedns.FreeDNS

	DryRun bool
	// contains filtered or unexported fields
}

FreeDNSProvider implements the DNS provider spec for UKFast FreeDNS.

func NewFreeDNSProvider

func NewFreeDNSProvider(domainFilter endpoint.DomainFilter, dryRun bool) (*FreeDNSProvider, error)

func (*FreeDNSProvider) ApplyChanges

func (p *FreeDNSProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

ApplyChanges applies a given set of changes in a given zone.

func (*FreeDNSProvider) Records

func (p *FreeDNSProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)

Records returns a list of Endpoint resources created from all records in supported zones.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳