Versions in this module Expand all Collapse all v0 v0.1.0 Sep 24, 2021 Changes in this version + const Name + type Client struct + func NewClient(awsLambdaRuntimeAPI string) *Client + func (e *Client) ExitError(ctx context.Context, errorType string) (*StatusResponse, error) + func (e *Client) InitError(ctx context.Context, errorType string) (*StatusResponse, error) + func (e *Client) NextEvent(ctx context.Context) (*NextEventResponse, error) + func (e *Client) Register(ctx context.Context, filename string) (*RegisterResponse, error) + type Config struct + MinimumTriggerThreshold *int + PluginStartPriority *[]string + PluginStopPriority *[]string + TriggerTimeout *int + type EventType string + const Invoke + const Shutdown + type NextEventResponse struct + DeadlineMs int64 + EventType EventType + InvokedFunctionArn string + RequestID string + Tracing Tracing + type Plugin struct + func (p *Plugin) Reconfigure(ctx context.Context, config interface{}) + func (p *Plugin) Start(ctx context.Context) error + func (p *Plugin) Stop(ctx context.Context) + type PluginFactory struct + func (p *PluginFactory) New(manager *plugins.Manager, config interface{}) plugins.Plugin + func (p *PluginFactory) Validate(manager *plugins.Manager, config []byte) (interface{}, error) + type RegisterResponse struct + FunctionName string + FunctionVersion string + Handler string + type StatusResponse struct + Status string + type Tracing struct + Type string + Value string