retryrepectthrottled

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const HeaderRetryAfter = "Retry-After"

Variables

This section is empty.

Functions

func GetRetriableStatusCode

func GetRetriableStatusCode() []int

func NewThrottlingPolicy

func NewThrottlingPolicy() policy.Policy

Types

type ThrottlingPolicy

type ThrottlingPolicy struct {
	RetryAfterReader time.Time
	RetryAfterWriter time.Time
}

ThrottlingPolicy implements the Azure SDK for Go's Policy interface. throttle counter is based on resources operation per subscription.

func (*ThrottlingPolicy) Do

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL