utils

package
v0.0.0-...-4a28188 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareSlice

func CompareSlice(a []string, b []string) ([]string, []string)

CompareSlice will return 2 slices with give 2 slices a,b slice ra : elements that exist in a and NOT in b slice rb : elements that exist in b and NOT in a

func GetBackOff

func GetBackOff() backoff.BackOff

GetBackOff will return a backoff for running Ops that require retry

func GetEnv

func GetEnv(key, defaultValue string) string

GetEnv get key environment variable if exist otherwise return defalutValue

Types

This section is empty.

Jump to

Keyboard shortcuts

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