Documentation ¶
Index ¶
- type CloudFlareProvider
- func (p *CloudFlareProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint
- func (p *CloudFlareProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (p *CloudFlareProvider) PropertyValuesEqual(name string, previous string, current string) bool
- func (p *CloudFlareProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)
- func (p *CloudFlareProvider) Zones(ctx context.Context) ([]cloudflare.Zone, error)
- type RecordParamsTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFlareProvider ¶
type CloudFlareProvider struct { provider.BaseProvider Client cloudFlareDNS DryRun bool DNSRecordsPerPage int // contains filtered or unexported fields }
CloudFlareProvider is an implementation of Provider for CloudFlare DNS.
func NewCloudFlareProvider ¶
func NewCloudFlareProvider(domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, proxiedByDefault bool, dryRun bool, dnsRecordsPerPage int) (*CloudFlareProvider, error)
NewCloudFlareProvider initializes a new CloudFlare DNS based Provider.
func (*CloudFlareProvider) AdjustEndpoints ¶ added in v0.7.5
func (p *CloudFlareProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint
AdjustEndpoints modifies the endpoints as needed by the specific provider
func (*CloudFlareProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
func (*CloudFlareProvider) PropertyValuesEqual ¶
func (p *CloudFlareProvider) PropertyValuesEqual(name string, previous string, current string) bool
func (*CloudFlareProvider) Zones ¶
func (p *CloudFlareProvider) Zones(ctx context.Context) ([]cloudflare.Zone, error)
Zones returns the list of hosted zones.
type RecordParamsTypes ¶ added in v0.13.3
type RecordParamsTypes interface { cloudflare.UpdateDNSRecordParams | cloudflare.CreateDNSRecordParams }
RecordParamsTypes is a typeset of the possible Record Params that can be passed to cloudflare-go library
Click to show internal directories.
Click to hide internal directories.