linode

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: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLinode

func NewLinode(m map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error)

NewLinode creates the provider.

Types

type LinodeApi

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

LinodeApi is the handle for this provider.

func (*LinodeApi) GetDomainCorrections

func (api *LinodeApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetDomainCorrections returns the corrections for a domain.

func (*LinodeApi) GetNameservers

func (api *LinodeApi) GetNameservers(domain string) ([]*models.Nameserver, error)

GetNameservers returns the nameservers for a domain.

func (*LinodeApi) GetZoneRecords

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

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

Jump to

Keyboard shortcuts

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