builder

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Json

func Json(builder *model.WorkflowBuilder) ([]byte, error)

Json generates JSON output from the WorkflowBuilder.

func New

func New() *model.WorkflowBuilder

New initializes a new WorkflowBuilder instance.

func Object

func Object(builder *model.WorkflowBuilder) (*model.Workflow, error)

Object builds and validates the Workflow object from the builder.

func Validate

func Validate(object interface{}) error

Validate validates any given object using the Workflow model validator.

func Yaml

func Yaml(builder *model.WorkflowBuilder) ([]byte, error)

Yaml generates YAML output from the WorkflowBuilder using custom MarshalYAML implementations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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