dnsimple

package
v2.10.1-0...-2a44a89 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsimpleApi

type DnsimpleApi struct {
	AccountToken string // The account access token
	BaseURL      string // An alternate base URI
	// contains filtered or unexported fields
}

DnsimpleApi is the handle for this provider.

func (*DnsimpleApi) GetDomainCorrections

func (c *DnsimpleApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetDomainCorrections returns corrections that update a domain.

func (*DnsimpleApi) GetNameservers

func (c *DnsimpleApi) GetNameservers(domainName string) ([]*models.Nameserver, error)

GetNameservers returns the name servers for a domain.

func (*DnsimpleApi) GetRegistrarCorrections

func (c *DnsimpleApi) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetRegistrarCorrections returns corrections that update a domain's registrar.

func (*DnsimpleApi) GetZoneRecords

func (client *DnsimpleApi) GetZoneRecords(domain string) (models.Records, error)

GetZoneRecords gets the records of a zone and returns them in RecordConfig format.

func (*DnsimpleApi) ListZones

func (c *DnsimpleApi) ListZones() ([]string, error)

ListZones returns all the zones in an account

Jump to

Keyboard shortcuts

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