context

package
v0.0.0-...-efcff09 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectResult

func CollectResult(err string) *types.LambdaResult

func GetEGVMContext

func GetEGVMContext(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func ResetContext

func ResetContext()

func SetContext

func SetContext(job *types.LambdaJob, keygrantorUrl string) error

func SetContextInputs

func SetContextInputs(inputs [][]byte)

Types

type EGVMContext

type EGVMContext struct {
	// contains filtered or unexported fields
}
var EGVMCtx *EGVMContext

func (*EGVMContext) GetCerts

func (e *EGVMContext) GetCerts(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) GetCertsHash

func (e *EGVMContext) GetCertsHash(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) GetConfig

func (e *EGVMContext) GetConfig(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) GetInputs

func (e *EGVMContext) GetInputs(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) GetRootKey

func (e *EGVMContext) GetRootKey(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) GetState

func (e *EGVMContext) GetState(_ goja.FunctionCall, vm *goja.Runtime) goja.Value

func (*EGVMContext) SetConfig

func (e *EGVMContext) SetConfig(cfg string)

func (*EGVMContext) SetOutputs

func (e *EGVMContext) SetOutputs(s goja.Value, vm *goja.Runtime)

func (*EGVMContext) SetState

func (e *EGVMContext) SetState(s goja.Value, vm *goja.Runtime)

Jump to

Keyboard shortcuts

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