Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainAPI ¶
type DomainAPI interface { ListDNSZones(req *domain.ListDNSZonesRequest, opts ...scw.RequestOption) (*domain.ListDNSZonesResponse, error) ListDNSZoneRecords(req *domain.ListDNSZoneRecordsRequest, opts ...scw.RequestOption) (*domain.ListDNSZoneRecordsResponse, error) UpdateDNSZoneRecords(req *domain.UpdateDNSZoneRecordsRequest, opts ...scw.RequestOption) (*domain.UpdateDNSZoneRecordsResponse, error) }
DomainAPI is an interface matching the domain.API struct
type ScalewayChange ¶
ScalewayChange differentiates between ChangActions
type ScalewayProvider ¶
type ScalewayProvider struct { provider.BaseProvider // contains filtered or unexported fields }
ScalewayProvider implements the DNS provider for Scaleway DNS
func NewScalewayProvider ¶
func NewScalewayProvider(ctx context.Context, domainFilter endpoint.DomainFilter, dryRun bool) (*ScalewayProvider, error)
NewScalewayProvider initializes a new Scaleway DNS provider
func (*ScalewayProvider) ApplyChanges ¶
ApplyChanges applies a set of changes in a zone.
Click to show internal directories.
Click to hide internal directories.