cloudflare

package
v0.0.0-...-68a8344 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFlareProvider

type CloudFlareProvider struct {
	provider.BaseProvider
	Client cloudFlareDNS

	DryRun            bool
	PaginationOptions cloudflare.PaginationOptions
	// contains filtered or unexported fields
}

CloudFlareProvider is an implementation of Provider for CloudFlare DNS.

func NewCloudFlareProvider

func NewCloudFlareProvider(domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, zonesPerPage int, proxiedByDefault bool, dryRun bool) (*CloudFlareProvider, error)

NewCloudFlareProvider initializes a new CloudFlare DNS based Provider.

func (*CloudFlareProvider) ApplyChanges

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

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

func (*CloudFlareProvider) PropertyValuesEqual

func (p *CloudFlareProvider) PropertyValuesEqual(name string, previous string, current string) bool

func (*CloudFlareProvider) Records

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

Records returns the list of records.

func (*CloudFlareProvider) Zones

Zones returns the list of hosted zones.

Jump to

Keyboard shortcuts

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