flow

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package flow loads and validates Fort flow definitions (YAML) into graph.Flow values (backlog AO-026/027).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(data []byte) (graph.Flow, error)

Load parses and validates a single flow definition.

func LoadDir

func LoadDir(dir string) ([]graph.Flow, error)

LoadDir loads every *.yaml/*.yml flow in dir, sorted by id. A missing directory yields no flows (not an error) so a bare `brew install` — which ships no flows/ — still serves; flow templates simply degrade to tasks.

func LoadFile

func LoadFile(path string) (graph.Flow, error)

LoadFile loads a flow from a file path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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