Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrRecordToMutateNotFound when ApplyChange has to update/delete and didn't found the record in the existing zone (Change with no record ID) ErrRecordToMutateNotFound = errors.New("record to mutate not found in current zone") // ErrNoDryRun No dry run support for the moment ErrNoDryRun = errors.New("dry run not supported") )
Functions ¶
This section is empty.
Types ¶
type OVHProvider ¶
type OVHProvider struct { provider.BaseProvider DryRun bool // UseCache controls if the OVHProvider will cache records in memory, and serve them // without recontacting the OVHcloud API if the SOA of the domain zone hasn't changed. // Note that, when disabling cache, OVHcloud API has rate-limiting that will hit if // your refresh rate/number of records is too big, which might cause issue with the // provider. // Default value: true UseCache bool // contains filtered or unexported fields }
OVHProvider is an implementation of Provider for OVH DNS.
func NewOVHProvider ¶
func NewOVHProvider(ctx context.Context, domainFilter endpoint.DomainFilter, endpoint string, apiRateLimit int, dryRun bool) (*OVHProvider, error)
NewOVHProvider initializes a new OVH DNS based Provider.
func (*OVHProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
Click to show internal directories.
Click to hide internal directories.