Documentation ¶
Index ¶
- func NewProvider(m map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error)
- type Provider
- func (api *Provider) EnsureDomainExists(domain string) error
- func (api *Provider) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error)
- func (api *Provider) GetNameservers(domain string) ([]*models.Nameserver, error)
- func (client *Provider) GetZoneRecords(domain string) (models.Records, error)
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 ¶
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
Click to show internal directories.
Click to hide internal directories.