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 AdaptiveLimiter ¶ added in v4.30.0
type AdaptiveLimiter struct {
// contains filtered or unexported fields
}
AdaptiveLimiter is a rate limiter.
func NewAdaptiveLimiter ¶ added in v4.30.0
func NewAdaptiveLimiter(r rate.Limit, burst int) *AdaptiveLimiter
NewAdaptiveLimiter creates a new 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.