utils

package
v0.110.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RetryConfig = utils.RetryConfig{
	Attempts: 5,
	Backoff: func(attempt int) time.Duration {

		return time.Duration(attempt*5) * time.Second
	},
	RetryStatusCodes: []int{
		http.StatusLocked,
		http.StatusTooEarly,
	},
}

Functions

func ConfigureClient

func ConfigureClient(ctx context.Context, providerData *core.ProviderData, diags *diag.Diagnostics) *sqlserverflex.APIClient

Types

This section is empty.

Jump to

Keyboard shortcuts

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