Documentation
¶
Index ¶
- type ServerlessPluginRuntime
- func (r *ServerlessPluginRuntime) Identity() (plugin_entities.PluginUniqueIdentifier, error)
- func (r *ServerlessPluginRuntime) InitEnvironment() error
- func (r *ServerlessPluginRuntime) Listen(sessionId string) *entities.Broadcast[plugin_entities.SessionMessage]
- func (r *ServerlessPluginRuntime) StartPlugin() error
- func (r *ServerlessPluginRuntime) Type() plugin_entities.PluginRuntimeType
- func (r *ServerlessPluginRuntime) Wait() (<-chan bool, error)
- func (r *ServerlessPluginRuntime) Write(sessionId string, action access_types.PluginAccessAction, data []byte)
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 (r *ServerlessPluginRuntime) Identity() (plugin_entities.PluginUniqueIdentifier, error)
func (*ServerlessPluginRuntime) InitEnvironment ¶
func (r *ServerlessPluginRuntime) InitEnvironment() error
func (*ServerlessPluginRuntime) Listen ¶
func (r *ServerlessPluginRuntime) Listen(sessionId string) *entities.Broadcast[plugin_entities.SessionMessage]
func (*ServerlessPluginRuntime) StartPlugin ¶
func (r *ServerlessPluginRuntime) StartPlugin() error
func (*ServerlessPluginRuntime) Type ¶
func (r *ServerlessPluginRuntime) Type() plugin_entities.PluginRuntimeType
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
Click to show internal directories.
Click to hide internal directories.