model

package
v0.0.0-...-cf3d621 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Methods  []string
	Start    *Node
	Playbook *Playbook
	FlowName string
	AppName  string
}

func (*Controller) GetMethods

func (cc *Controller) GetMethods() []string

type Node

type Node struct {
	Data    map[string]interface{} `json:"data"`
	Outputs map[string]*Output     `json:"outputs"`
}

func (*Node) DeepCopy

func (n *Node) DeepCopy() (*Node, error)

DeepCopy crea una copia profunda de un Node

func (*Node) DeepCopyData

func (n *Node) DeepCopyData() map[string]interface{}

DeepCopyData crea una copia profunda solo del campo Data

type Output

type Output struct {
	Connections []struct {
		Node   string `json:"node"`
		Output string `json:"output"`
	} `json:"connections"`
}

type Playbook

type Playbook map[string]*Node

type Runeable

type Runeable interface {
	GetMethods() []string
	Run(c echo.Context, vars Vars, next string, endpoint string, uuid1 string, payload goja.Value) error
}

type Vars

type Vars map[string]string

Jump to

Keyboard shortcuts

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