llama

package
v0.0.0-...-5f09953 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorReturn

type ErrorReturn struct {
	Payload []byte
	Logs    []byte
}

func (*ErrorReturn) Error

func (e *ErrorReturn) Error() string

type InvokeArgs

type InvokeArgs struct {
	Function   string
	ReturnLogs bool
	Spec       protocol.InvocationSpec
}

type InvokeResult

type InvokeResult struct {
	Logs     []byte
	Response protocol.InvocationResponse
}

func Invoke

func Invoke(ctx context.Context, svc *lambda.Lambda,
	st store.Store, args *InvokeArgs) (*InvokeResult, error)

Jump to

Keyboard shortcuts

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