utils

package
v0.0.0-...-cfdc686 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsMap

func AsMap(v interface{}) (map[string]interface{}, error)

func FileExists

func FileExists(path string) bool

func IsBlank

func IsBlank(s string) bool

func IsDirectory

func IsDirectory(path string) (bool, error)

func Retry

func Retry(fn func() (bool, error), interval, timeout time.Duration) error

func RetryOnAWSErrorCode

func RetryOnAWSErrorCode(fn func() error, retryErrorCodes []string, interval, timeout time.Duration) error

func ToJSON

func ToJSON(v interface{}) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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