provider

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package provider lets you abstract away any number of DNS providers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Advertise creates records in DNS
	Advertise(...*dns.Record) error
	// Remove removes records from DNS
	Remove(...*dns.Record) error
	// Resolve looks up a record in DNS
	Resolve(name, recordType string) ([]*dns.Record, error)
}

Provider is an interface for interacting with a DNS provider

Directories

Path Synopsis
Package cloudflare is a dns Provider for cloudflare
Package cloudflare is a dns Provider for cloudflare

Jump to

Keyboard shortcuts

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