Documentation
¶
Index ¶
- func AuditRecords(records []*models.RecordConfig) []error
- func NewCloudns(m map[string]string) (*cloudnsProvider, error)
- func NewDsp(conf map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error)
- func NewReg(conf map[string]string) (providers.Registrar, error)
- type AdaptiveLimiter
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.
func NewCloudns ¶
func NewDsp ¶ added in v4.30.0
func NewDsp(conf map[string]string, metadata json.RawMessage) (providers.DNSServiceProvider, error)
Types ¶
type AdaptiveLimiter ¶ added in v4.30.0
type AdaptiveLimiter struct {
// contains filtered or unexported fields
}
func NewAdaptiveLimiter ¶ added in v4.30.0
func NewAdaptiveLimiter(r rate.Limit, burst int) *AdaptiveLimiter
func (*AdaptiveLimiter) NotifyRateLimited ¶ added in v4.30.0
func (al *AdaptiveLimiter) NotifyRateLimited()
NotifyRateLimited reserves enough tokens to pause for a period of time
Click to show internal directories.
Click to hide internal directories.