helper

package
v0.0.0-...-9576e61 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegionFromARN

func GetRegionFromARN(arn string) string

func LogError

func LogError(format string, args ...interface{})

func LogInfo

func LogInfo(format string, args ...interface{})

func LogNotice

func LogNotice(format string, args ...interface{})

func LogSuccess

func LogSuccess(format string, args ...interface{})

func LogWarn

func LogWarn(format string, args ...interface{})

func MapAverage

func MapAverage(data map[string]float64) float64

func SortByMemory

func SortByMemory(results map[int]float64) []int

func ValidateGraphConifg

func ValidateGraphConifg(graphConfig bool, csvFilename string)

func ValidateLambdaARN

func ValidateLambdaARN(lambdaARN string)

func ValidateMemoryIncrement

func ValidateMemoryIncrement(memoryIncrement int)

func ValidateMemoryMaxValue

func ValidateMemoryMaxValue(memoryMax int, memoryMin int)

func ValidateMemoryMinValue

func ValidateMemoryMinValue(memoryMin int)

func ValidateMinRequests

func ValidateMinRequests(minRequests int)

func ValidateWaitTime

func ValidateWaitTime(waitTime int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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