Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuditRecords ¶
func AuditRecords(records []*models.RecordConfig) []error
AuditRecords returns a list of errors corresponding to the records that aren't supported by this provider. If all records are supported, an empty list is returned.
Types ¶
type DNSRecord ¶
type DNSRecord struct {
vercelClient.DNSRecord
Type string `json:"type"`
// Normally MXPriority would be uint16 type, but since vercelClient.DNSRecord uses int64, we'd better be consistent here
// Later in GetZoneRecords we do a `uint16OrZero` to ensure the type is correct
MXPriority int64 `json:"mxPriority"`
}
DNSRecord is a helper struct to unmarshal the JSON response. It embeds vercelClient.DNSRecord to reuse the upstream type, but adds fields to handle API inconsistencies (type vs recordType, mxPriority).
Click to show internal directories.
Click to hide internal directories.