ondemand

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvFlowRecord = "FLOGO_FLOW_RECORD"
)

Variables

This section is empty.

Functions

func ApplyMappings

func ApplyMappings(mappings map[string]interface{}, inputs map[string]interface{}) (map[string]interface{}, error)

func SetExtensionProvider

func SetExtensionProvider(provider flow.ExtensionProvider)

Types

type ActionFactory

type ActionFactory struct {
}

func (*ActionFactory) Initialize

func (f *ActionFactory) Initialize(ctx action.InitContext) error

func (*ActionFactory) New

func (f *ActionFactory) New(config *action.Config) (action.Action, error)

type FlowAction

type FlowAction struct {
	FlowURI    string
	IoMetadata *metadata.IOMetadata
}

func (*FlowAction) IOMetadata

func (fa *FlowAction) IOMetadata() *metadata.IOMetadata

func (*FlowAction) Metadata

func (fa *FlowAction) Metadata() *action.Metadata

Metadata get the Action's metadata

func (*FlowAction) Run

func (fa *FlowAction) Run(ctx context.Context, inputs map[string]interface{}, handler action.ResultHandler) error

Run implements action.Action.Run

type FlowPackage

type FlowPackage struct {
	Inputs  map[string]interface{}    `json:"inputs"`
	Outputs map[string]interface{}    `json:"outputs"`
	Flow    *definition.DefinitionRep `json:"flow"`
}

type Settings

type Settings struct {
}

Jump to

Keyboard shortcuts

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