cloudflare

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationKeyProxied = "dns.xzzpig.com/record-proxied"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareProvider

type CloudflareProvider struct {
	// contains filtered or unexported fields
}

func (*CloudflareProvider) CreateRecord

func (p *CloudflareProvider) CreateRecord(ctx context.Context, rec *dnsv1.DNSRecord) (id string, err error)

func (*CloudflareProvider) DeleteRecord

func (p *CloudflareProvider) DeleteRecord(ctx context.Context, rec *dnsv1.DNSRecord, id *string) (err error)

func (*CloudflareProvider) SearchRecord

func (p *CloudflareProvider) SearchRecord(ctx context.Context, rec *dnsv1.DNSRecord) (id string, ok bool, err error)

func (*CloudflareProvider) UpdateRecord

func (p *CloudflareProvider) UpdateRecord(ctx context.Context, rec *dnsv1.DNSRecord, id *string) (err error)

Jump to

Keyboard shortcuts

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