providers

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterProvider

func RegisterProvider(name string, provider Provider)

Types

type Provider

type Provider interface {
	Init(rootDomainName string) error
	GetName() string
	HealthCheck() error
	AddRecord(record utils.DnsRecord) error
	RemoveRecord(record utils.DnsRecord) error
	UpdateRecord(record utils.DnsRecord) error
	GetRecords() ([]utils.DnsRecord, error)
}

func GetProvider

func GetProvider(name, rootDomainName string) (Provider, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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