executor

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package executor provides functionality to execute workflows defined as directed acyclic graphs (DAGs).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	RunStore           *run.Store
	DefaultTaskTimeout time.Duration // Optional global timeout per task (0 = none)
}

Executor is responsible for executing workflows defined as DAGs.

func NewExecutor

func NewExecutor(store *run.Store) *Executor

NewExecutor is a creates a new Executor with the given RunStore.

func (*Executor) Run

func (e *Executor) Run(ctx context.Context, d *dag.DAG) error

Run executes the given DAG workflow.

Jump to

Keyboard shortcuts

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