common

package
v0.0.0-...-45a9bcf Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultRetries = 3
View Source
const DefaultRetryDuration = 5 * time.Second

Variables

This section is empty.

Functions

func RetryExitError

func RetryExitError(err error) error

common.retryExitError converts `exec.ExitError`s to `check.RetryableError`s, so that checks using this are retried. embed checks must use this from their `Run` method when exit errors need to be retried.

Types

This section is empty.

Jump to

Keyboard shortcuts

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