exechandler

package
v0.0.0-...-f5227cc Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConditionFalse = errors.New("condition false, no need to run")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Name   string
	Type   result.ExecType
	DAG    rtdag.RuntimeDAG
	FnMap  fnmap.FuncMap
	Output output.Output
	Result result.Result
}

type ExecHandler

type ExecHandler interface {
	FunctionRun(ctx context.Context, vertexName string, vertexContext any) bool
	RecordFinalResult(start, finish time.Time, success bool)
}

func New

func New(c *Config) ExecHandler

Jump to

Keyboard shortcuts

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