serverless_runtime

package
v0.0.0-...-e06565c Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerlessPluginRuntime

type ServerlessPluginRuntime struct {
	basic_runtime.BasicChecksum
	plugin_entities.PluginRuntime

	// access url for the lambda function
	LambdaURL  string
	LambdaName string

	PluginMaxExecutionTimeout int // in seconds
	// contains filtered or unexported fields
}

func (*ServerlessPluginRuntime) Identity

func (*ServerlessPluginRuntime) InitEnvironment

func (r *ServerlessPluginRuntime) InitEnvironment() error

func (*ServerlessPluginRuntime) Listen

func (*ServerlessPluginRuntime) StartPlugin

func (r *ServerlessPluginRuntime) StartPlugin() error

func (*ServerlessPluginRuntime) Type

func (*ServerlessPluginRuntime) Wait

func (r *ServerlessPluginRuntime) Wait() (<-chan bool, error)

func (*ServerlessPluginRuntime) Write

func (r *ServerlessPluginRuntime) Write(sessionId string, action access_types.PluginAccessAction, data []byte)

For AWS Lambda, write is equivalent to http request, it's not a normal stream like stdio and tcp

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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