Documentation ¶
Index ¶
- func NewAkamaiProvider(akamaiConfig AkamaiConfig, akaService AkamaiDNSService) (provider.Provider, error)
- type AkamaiConfig
- type AkamaiDNSService
- type AkamaiProvider
- func (p AkamaiProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (p AkamaiProvider) CreateRecordsets(recordsets *dns.Recordsets, zone string, reclock bool) error
- func (p AkamaiProvider) DeleteRecord(record *dns.RecordBody, zone string, recLock bool) error
- func (p AkamaiProvider) GetRecord(zone string, name string, recordtype string) (*dns.RecordBody, error)
- func (p AkamaiProvider) GetRecordsets(zone string, queryArgs dns.RecordsetQueryArgs) (*dns.RecordSetResponse, error)
- func (p AkamaiProvider) ListZones(queryArgs dns.ZoneListQueryArgs) (*dns.ZoneListResponse, error)
- func (p AkamaiProvider) Records(context.Context) (endpoints []*endpoint.Endpoint, err error)
- func (p AkamaiProvider) UpdateRecord(record *dns.RecordBody, zone string, recLock bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAkamaiProvider ¶
func NewAkamaiProvider(akamaiConfig AkamaiConfig, akaService AkamaiDNSService) (provider.Provider, error)
NewAkamaiProvider initializes a new Akamai DNS based Provider.
Types ¶
type AkamaiConfig ¶
type AkamaiDNSService ¶ added in v0.8.0
type AkamaiDNSService interface { ListZones(queryArgs dns.ZoneListQueryArgs) (*dns.ZoneListResponse, error) GetRecordsets(zone string, queryArgs dns.RecordsetQueryArgs) (*dns.RecordSetResponse, error) GetRecord(zone string, name string, recordtype string) (*dns.RecordBody, error) DeleteRecord(record *dns.RecordBody, zone string, recLock bool) error UpdateRecord(record *dns.RecordBody, zone string, recLock bool) error CreateRecordsets(recordsets *dns.Recordsets, zone string, recLock bool) error }
edgeDNSClient is a proxy interface of the Akamai edgegrid configdns-v2 package that can be stubbed for testing.
type AkamaiProvider ¶
type AkamaiProvider struct { provider.BaseProvider // contains filtered or unexported fields }
AkamaiProvider implements the DNS provider for Akamai.
func (AkamaiProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
func (AkamaiProvider) CreateRecordsets ¶ added in v0.8.0
func (p AkamaiProvider) CreateRecordsets(recordsets *dns.Recordsets, zone string, reclock bool) error
func (AkamaiProvider) DeleteRecord ¶ added in v0.8.0
func (p AkamaiProvider) DeleteRecord(record *dns.RecordBody, zone string, recLock bool) error
func (AkamaiProvider) GetRecord ¶ added in v0.8.0
func (p AkamaiProvider) GetRecord(zone string, name string, recordtype string) (*dns.RecordBody, error)
func (AkamaiProvider) GetRecordsets ¶ added in v0.8.0
func (p AkamaiProvider) GetRecordsets(zone string, queryArgs dns.RecordsetQueryArgs) (*dns.RecordSetResponse, error)
func (AkamaiProvider) ListZones ¶ added in v0.8.0
func (p AkamaiProvider) ListZones(queryArgs dns.ZoneListQueryArgs) (*dns.ZoneListResponse, error)
func (AkamaiProvider) UpdateRecord ¶ added in v0.8.0
func (p AkamaiProvider) UpdateRecord(record *dns.RecordBody, zone string, recLock bool) error
Click to show internal directories.
Click to hide internal directories.