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
// 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 ¶
func (p *OVHProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
ApplyChanges applies a given set of changes in a given zone.
Click to show internal directories.
Click to hide internal directories.