Documentation
¶
Overview ¶
Package libdnsregery implements a DNS record management client compatible with the libdns interfaces for Regery.
Index ¶
- type Provider
- func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record, error)
- func (p *Provider) SetRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
- type RegeryDNSRecord
- type RegeryDNSRecords
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider facilitates DNS record manipulation with Regery.
func (*Provider) AppendRecords ¶
func (*Provider) DeleteRecords ¶
func (p *Provider) DeleteRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error)
DeleteRecords deletes the records from the zone. It returns the records that were deleted.
func (*Provider) GetRecords ¶
GetRecords lists all the records in the zone.
type RegeryDNSRecord ¶
type RegeryDNSRecords ¶
type RegeryDNSRecords struct {
Records []RegeryDNSRecord `json:"records"`
}