lambda

package
v0.5.2-rc1 Latest Latest
Warning

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

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

README

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) Init

func (t *LambdaTrigger) Init(runner action.Runner)

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