vultr

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

func NewProvider

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

NewProvider initializes a Vultr DNSServiceProvider.

Types

type Provider

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

Provider represents the Vultr DNSServiceProvider.

func (*Provider) EnsureDomainExists

func (api *Provider) EnsureDomainExists(domain string) error

EnsureDomainExists adds a domain to the Vutr DNS service if it does not exist

func (*Provider) GetDomainCorrections

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

GetDomainCorrections gets the corrections for a DomainConfig.

func (*Provider) GetNameservers

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

GetNameservers gets the Vultr nameservers for a domain

func (*Provider) GetZoneRecords

func (api *Provider) 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