runner

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileFile

func CompileFile(path string, opts Options) (*compiler.CompiledWorkflow, error)

CompileFile loads, validates, resolves secrets, and compiles a workflow file without starting it.

Types

type Options

type Options struct {
	// BaseDataDir is passed to compiler.Compiler for derived
	// state/checkpoint directories.
	BaseDataDir string

	// Secrets resolves ${VAR} references in sensitive connection fields.
	// Defaults to secrets.Environment.
	Secrets secrets.SecretResolver
}

Options configures workflow compilation and execution.

type RunResult

type RunResult struct {
	Name     string
	Graph    compiler.PipelineGraph
	Delivery compiler.DeliveryGuarantee
}

RunResult is the non-secret metadata for a completed workflow run.

func RunFile

func RunFile(ctx context.Context, path string, opts Options) (*RunResult, error)

RunFile compiles and executes a workflow file.

Jump to

Keyboard shortcuts

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