Documentation
¶
Index ¶
- type DigitalOceanProvider
- func (p *DigitalOceanProvider) ApplyChanges(ctx context.Context, planChanges *plan.Changes) error
- func (p *DigitalOceanProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)
- func (p *DigitalOceanProvider) SupportedRecordType(recordType string) bool
- func (p *DigitalOceanProvider) Zones(ctx context.Context) ([]godo.Domain, error)
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 ¶
ApplyChanges applies the given set of generic changes to the provider.
func (*DigitalOceanProvider) SupportedRecordType ¶ added in v0.15.1
func (p *DigitalOceanProvider) SupportedRecordType(recordType string) bool
SupportedRecordType returns true if the record type is supported by the provider
Click to show internal directories.
Click to hide internal directories.