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)
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 PaginationOptions cloudflare.PaginationOptions // contains filtered or unexported fields }
CloudFlareProvider is an implementation of Provider for CloudFlare DNS.
func NewCloudFlareProvider ¶
func NewCloudFlareProvider(domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, zonesPerPage int, proxiedByDefault bool, dryRun bool) (*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.
Click to show internal directories.
Click to hide internal directories.