digitalocean

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 DigitalOceanProvider

type DigitalOceanProvider struct {
	provider.BaseProvider
	Client godo.DomainsService

	DryRun bool
	// contains filtered or unexported fields
}

DigitalOceanProvider is an implementation of Provider for Digital Ocean's DNS.

func NewDigitalOceanProvider

func NewDigitalOceanProvider(ctx context.Context, domainFilter endpoint.DomainFilter, dryRun bool, apiPageSize int) (*DigitalOceanProvider, error)

NewDigitalOceanProvider initializes a new DigitalOcean DNS based Provider.

func (*DigitalOceanProvider) ApplyChanges

func (p *DigitalOceanProvider) ApplyChanges(ctx context.Context, planChanges *plan.Changes) error

ApplyChanges applies the given set of generic changes to the provider.

func (*DigitalOceanProvider) Records

Records returns the list of records in a given zone.

func (*DigitalOceanProvider) Zones

func (p *DigitalOceanProvider) Zones(ctx context.Context) ([]godo.Domain, error)

Zones returns the list of hosted zones.

Jump to

Keyboard shortcuts

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