cloudflare

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRecord

func CreateRecord(ctx context.Context, api *cf.API, zoneID, recType, hostname, content string, ttl int, proxied bool) error

func DeleteRecord

func DeleteRecord(ctx context.Context, api *cf.API, zoneID, recordID string) error

func FindRecord

func FindRecord(ctx context.Context, api *cf.API, zoneID, hostname, recType string) (*cf.DNSRecord, error)

func GetZoneID

func GetZoneID(ctx context.Context, api *cf.API, zoneName string) (string, error)

func ListRecords

func ListRecords(ctx context.Context, api *cf.API, zoneID string) ([]cf.DNSRecord, error)

func NewClient

func NewClient() (*cf.API, error)

func UpdateRecord

func UpdateRecord(ctx context.Context, api *cf.API, zoneID, recordID, recType, hostname, content string, ttl int, proxied bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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