utils

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsConfigFromCredentials added in v0.0.14

func AwsConfigFromCredentials(accessKeyId string, secretAccessKey string, sessionToken string) aws.Config

func CoalesceErr

func CoalesceErr(args ...error) error

func FileExists

func FileExists(path string) bool

func GetCurrentAccountId

func GetCurrentAccountId(cfg aws.Config) (string, error)

func IsErrorDueToEBSEncryptionByDefault added in v1.6.2

func IsErrorDueToEBSEncryptionByDefault(err error) bool

func Min added in v1.4.0

func Min(a int, b int) int

The Min function returns the smallest of two integers Note: math.Min only works for float64

func RandomHexString added in v1.2.0

func RandomHexString(length int) string

func RandomString

func RandomString(length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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