generator

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTypes added in v0.21.0

func RegisterTypes(typesToRegister *refutil.TypeFactory)

Types

type App added in v0.9.0

type App struct {
	Name                    string
	Version                 string
	Description             string
	Authors                 []schema.Author
	VariableFactory         func(variableType string) (variable.Variable, error)
	NodeOutputSerialization *serialize.TypeSwitch[manifest.Entry]

	Out   io.Writer
	Err   io.Writer
	Graph *graph.Instance
}

func (*App) ApplySchema added in v0.21.3

func (a *App) ApplySchema(jsonPayload []byte) error

func (*App) Run added in v0.9.0

func (a *App) Run(args []string) error

func (*App) Schema added in v0.10.0

func (a *App) Schema() []byte

type DocumentationWriter added in v0.24.0

type DocumentationWriter struct {
	Title       string
	Description string
	Version     string
	NodeTypes   *refutil.TypeFactory
}

func (DocumentationWriter) WriteSingleHTML added in v0.24.0

func (dw DocumentationWriter) WriteSingleHTML(out io.Writer) error

func (DocumentationWriter) WriteSingleMarkdown added in v0.24.0

func (dw DocumentationWriter) WriteSingleMarkdown(out io.Writer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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