util

package
v0.0.0-...-5a9cfe4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeByteMaps

func MergeByteMaps(old map[string][]byte, new map[string][]byte) map[string][]byte

func MergeMaps

func MergeMaps(new, original map[string]interface{}) map[string]interface{}

MergeMaps copies the keys that don't exist in the new map from the original map

func MergeStringMaps

func MergeStringMaps(old map[string]string, new map[string]string) map[string]string

func WaitFor

func WaitFor(interval, timeout time.Duration, isReady func() (bool, error)) error

WaitFor waits until isReady returns true, error or the timeout was reached

func WithDefaultRetry

func WithDefaultRetry(operation operationFunc, isRecoverable isRecoverableFunc) (interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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