Documentation ¶
Index ¶
- func CollectResult(err string) *types.LambdaResult
- func GetEGVMContext(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func ResetContext()
- func SetContext(job *types.LambdaJob, keygrantorUrl string) error
- func SetContextInputs(inputs [][]byte)
- type EGVMContext
- func (e *EGVMContext) GetCerts(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) GetCertsHash(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) GetConfig(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) GetInputs(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) GetRootKey(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) GetState(_ goja.FunctionCall, vm *goja.Runtime) goja.Value
- func (e *EGVMContext) SetConfig(cfg string)
- func (e *EGVMContext) SetOutputs(s goja.Value, vm *goja.Runtime)
- func (e *EGVMContext) SetState(s goja.Value, vm *goja.Runtime)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectResult ¶
func CollectResult(err string) *types.LambdaResult
func GetEGVMContext ¶
func ResetContext ¶
func ResetContext()
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)
Click to show internal directories.
Click to hide internal directories.