Help us shape the future of Go! Take the 2026 Go Developer Survey

ondemand

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateRecordingMode = "stateRecordingMode"
	// Deprecated
	RtSettingStepMode     = "stepRecordingMode"
	RtSettingSnapshotMode = "snapshotRecordingMode"
)

Variables

This section is empty.

Functions

func ApplyMappings

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

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