lambda

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 License: BSD-3-Clause Imports: 7 Imported by: 0

README


title: Lambda weight: 4704

tibco-lambda

This trigger provides your flogo application the ability to start a flow as an AWS Lambda function

Installation

flogo install trigger github.com/TIBCOSoftware/flogo-contrib/trigger/lambda

Schema

Settings, Outputs:

{
  "settings": [
  ],
  "output": [
    {
      "name": "context",
      "type": "object"
    },
    {
      "name": "evt",
      "type": "string"
    }
  ]
}

A sample of the context object:

{
  "awsRequestId":"",
  "functionName":"",
  "functionVersion":"",
  "logGroupName":"",
  "logStreamName":"",
  "memoryLimitInMB":0
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke() (interface{}, error)

func NewFactory

func NewFactory(md *trigger.Metadata) trigger.Factory

NewFactory create a new Trigger factory

Types

type LambdaFactory

type LambdaFactory struct {
	// contains filtered or unexported fields
}

LambdaFactory AWS Lambda Trigger factory

func (*LambdaFactory) New

func (t *LambdaFactory) New(config *trigger.Config) trigger.Trigger

New Creates a new trigger instance for a given id

type LambdaTrigger

type LambdaTrigger struct {
	// contains filtered or unexported fields
}

LambdaTrigger AWS Lambda trigger struct

func (*LambdaTrigger) Initialize added in v0.5.2

func (t *LambdaTrigger) Initialize(ctx trigger.InitContext) error

func (*LambdaTrigger) Metadata

func (t *LambdaTrigger) Metadata() *trigger.Metadata

Metadata implements trigger.Trigger.Metadata

func (*LambdaTrigger) Start

func (t *LambdaTrigger) Start() error

func (*LambdaTrigger) Stop

func (t *LambdaTrigger) Stop() error

Stop implements util.Managed.Stop

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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