utils

package
v0.0.0-...-debdcc2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package utils contains utility functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRetries

func WithRetries(fn func() error) error

WithRetries runs a function with up to 10 retries on error

func WithRetriesConfigurable

func WithRetriesConfigurable(count int, initialBackoff time.Duration, fn func() error) error

WithRetriesConfigurable runs a function with a configurable retry count and backoff interval on error

Types

This section is empty.

Jump to

Keyboard shortcuts

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