vultr

package
v0.0.0-...-68a8344 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VultrChanges

type VultrChanges struct {
	Action string

	ResourceRecordSet govultr.DNSRecord
}

VultrChanges differentiates between ChangActions.

type VultrProvider

type VultrProvider struct {
	provider.BaseProvider

	DryRun bool
	// contains filtered or unexported fields
}

VultrProvider is an implementation of Provider for Vultr DNS.

func NewVultrProvider

func NewVultrProvider(domainFilter endpoint.DomainFilter, dryRun bool) (*VultrProvider, error)

NewVultrProvider initializes a new Vultr BNS based provider

func (*VultrProvider) ApplyChanges

func (p *VultrProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

ApplyChanges applies a given set of changes in a given zone.

func (*VultrProvider) Records

func (p *VultrProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)

Records returns the list of records.

func (*VultrProvider) Zones

func (p *VultrProvider) Zones(ctx context.Context) ([]govultr.DNSDomain, error)

Zones returns list of hosted zones

Jump to

Keyboard shortcuts

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