cmdutil

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteFunctionWithRetry

func ExecuteFunctionWithRetry(function func() error, maxAttempts uint) error

ExecuteFunctionWithRetry - reruns a function in case of error and logs error

func ExecuteWithRetry

func ExecuteWithRetry[T string | *exec.Cmd](function func(T) (string, error), command T, maxAttempts uint) error

ExecuteWithRetry reruns a function in case of error and logs error

Types

This section is empty.

Jump to

Keyboard shortcuts

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