utils

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const FuncContextName = "funcContext"

Variables

This section is empty.

Functions

func GetComponentName

func GetComponentName(ctx *ofctx.FunctionContext) (string, error)

func GetEnvVar

func GetEnvVar(key, fallbackValue string) string

func GetFuncContext

func GetFuncContext(fwk interface{}) *ofctx.FunctionContext

func GetFuncHost

func GetFuncHost(ctx *ofctx.FunctionContext) string

func GetTopicEventPath

func GetTopicEventPath(ctx *ofctx.FunctionContext) (string, error)

func NewExponentialBackOff

func NewExponentialBackOff() *backoff.ExponentialBackOff

Types

This section is empty.

Jump to

Keyboard shortcuts

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