repository

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExecutionNotFound = errors.New("execution not found")
)
View Source
var (
	ErrNodeNotFound = errors.New("node not found")
)

Functions

This section is empty.

Types

type Execution

type Execution interface {
	Init(ctx context.Context) error
	Close()
	GetExecution(ctx context.Context, id workflow.ExecutionIdentifier) (*workflow.Execution, error)
	CreateExecution(ctx context.Context, ex *workflow.Execution) error
	CloseExecution(ctx context.Context, id workflow.ExecutionIdentifier, result workflow.Status, output workflow.SerializedExecutionResult) error
}

type Node

type Node interface {
	Init(ctx context.Context) error
	Close()
	Get(ctx context.Context, id node.Identifier) (*node.Node, error)
	List(ctx context.Context) ([]*node.Node, error)
	Delete(ctx context.Context, id node.Identifier) error
	Create(ctx context.Context, node *node.Node) error
}

Jump to

Keyboard shortcuts

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