cfdns

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareDNS

type CloudflareDNS interface {
	GetARecord(name, zoneID string) (*cloudflare.DNSRecord, error)
	GetQuadARecord(name, zoneID string) (*cloudflare.DNSRecord, error)
	UpdateRecord(r *cloudflare.DNSRecord) (*cloudflare.DNSRecord, error)
}

func New

func New(apiToken string, opts ...Option) (CloudflareDNS, error)

type Option

type Option func(*defaultImpl)

func WithAPI

func WithAPI(api *cloudflare.API) Option

Jump to

Keyboard shortcuts

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