Documentation
¶
Overview ¶
Package flow parses FlowBaton's isolated YAML contracts into model nodes.
Index ¶
- func Parse(path string, reader io.Reader) (model.Flow, error)
- func ParseBytes(path string, data []byte) (model.Flow, error)
- func ParseWorkspace(path string, reader io.Reader) (model.WorkspaceConfig, []model.Diagnostic, error)
- func ParseWorkspaceBytes(path string, data []byte) (model.WorkspaceConfig, []model.Diagnostic, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse reads exactly one two-document flow from reader. It performs syntax parsing only; linked paths are retained for later graph validation.
func ParseBytes ¶
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.
Click to show internal directories.
Click to hide internal directories.