flow

package
v0.2.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package flow parses FlowBaton's isolated YAML contracts into model nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(path string, reader io.Reader) (model.Flow, error)

Parse reads exactly one two-document flow from reader. It performs syntax parsing only; linked paths are retained for later graph validation.

func ParseBytes

func ParseBytes(path string, data []byte) (model.Flow, error)

ParseBytes parses exactly one two-document flow from data.

func ParseWorkspace

func ParseWorkspace(path string, reader io.Reader) (model.WorkspaceConfig, []model.Diagnostic, error)

ParseWorkspace reads a single workspace configuration document.

func ParseWorkspaceBytes

func ParseWorkspaceBytes(path string, data []byte) (model.WorkspaceConfig, []model.Diagnostic, error)

ParseWorkspaceBytes parses a single workspace configuration document.

Types

This section is empty.

Jump to

Keyboard shortcuts

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