Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultLoopTimeout is the default timeout for a reconcile loop (defaulted to the max ARM template duration). DefaultLoopTimeout = 90 * time.Minute // DefaultMappingTimeout is the default timeout for a controller request mapping func. DefaultMappingTimeout = 60 * time.Second // DefaultAzureServiceReconcileTimeout is the default timeout for an Azure service reconcile. DefaultAzureServiceReconcileTimeout = 12 * time.Second // DefaultAzureCallTimeout is the default timeout for an Azure request after which an Azure operation is considered long running. DefaultAzureCallTimeout = 2 * time.Second // DefaultReconcilerRequeue is the default value for the reconcile retry. DefaultReconcilerRequeue = 15 * time.Second // DefaultHTTP429RetryAfter is a default backoff wait time when we get a HTTP 429 response with no Retry-After data. DefaultHTTP429RetryAfter = 1 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timeouts ¶ added in v1.13.0
type Timeouts struct { // Loop is the timeout for a reconcile loop (defaulted to the max ARM template duration). Loop time.Duration // AzureServiceReconcile is the timeout for an Azure service reconcile. AzureServiceReconcile time.Duration // AzureCall is the timeout for an Azure request after which an Azure operation is considered long-running. AzureCall time.Duration // Requeue is the value for the reconcile retry. Requeue time.Duration }
Timeouts defines the timeouts for a reconciler.
func (Timeouts) DefaultedAzureCallTimeout ¶ added in v1.13.0
DefaultedAzureCallTimeout will default the timeout if it is zero-valued.
func (Timeouts) DefaultedAzureServiceReconcileTimeout ¶ added in v1.13.0
DefaultedAzureServiceReconcileTimeout will default the timeout if it is zero-valued.
func (Timeouts) DefaultedLoopTimeout ¶ added in v1.13.0
DefaultedLoopTimeout will default the timeout if it is zero-valued.
func (Timeouts) DefaultedReconcilerRequeue ¶ added in v1.13.0
DefaultedReconcilerRequeue will default the timeout if it is zero-valued.
Click to show internal directories.
Click to hide internal directories.