Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶ added in v0.39.0
type Graph struct {
Producers map[string]Producer `json:"producers"`
Nodes map[string]Node `json:"nodes"`
Notes map[string]any `json:"notes"`
Variables NestedGroup[Variable] `json:"variables,omitempty"`
Profiles []string `json:"profiles,omitempty"`
SubGraphs map[string]SubGraph `json:"subGraphs,omitempty"`
}
type GraphExecutionReport ¶ added in v0.32.0
type GraphExecutionReport struct {
Nodes map[string]NodeExecutionReport `json:"nodes"`
}
type NestedGroup ¶ added in v0.28.0
type NestedGroup[T any] struct { Variables map[string]T `json:"variables"` SubGroups map[string]NestedGroup[T] `json:"subgroups"` }
func (NestedGroup[T]) Traverse ¶ added in v0.28.0
func (vg NestedGroup[T]) Traverse(f func(path string, variable T) bool)
type Node ¶ added in v0.39.0
type Node struct {
Type string `json:"type"`
Name string `json:"name"`
AssignedInput map[string]PortReference `json:"assignedInput"`
Output map[string]NodeOutputPort `json:"output"`
Parameter Parameter `json:"parameter,omitempty"`
Variable any `json:"variable,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
SubGraphInputBoundary *SubGraphPortBoundary `json:"subGraphInputBoundary,omitempty"`
SubGraphOutputBoundary *SubGraphPortBoundary `json:"subGraphOutputBoundary,omitempty"`
SubGraphId string `json:"subGraphId,omitempty"`
}
type NodeExecutionReport ¶ added in v0.32.0
type NodeExecutionReport struct {
Output map[string]nodes.ExecutionReport `json:"output"`
}
type NodeOutputPort ¶ added in v0.39.0
type NodeOutputPort struct {
Version int `json:"version"`
}
type NodeType ¶
type NodeType struct {
DisplayName string `json:"displayName"`
Info string `json:"info"`
Type string `json:"type"`
Path string `json:"path"`
Outputs map[string]NodeTypeOutput `json:"outputs,omitempty"`
Inputs map[string]NodeTypeInput `json:"inputs,omitempty"`
Parameter Parameter `json:"parameter,omitempty"`
}
type NodeTypeInput ¶ added in v0.39.0
type NodeTypeOutput ¶ added in v0.39.0
type ParameterBase ¶
type ParameterBase struct {
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
}
func (ParameterBase) DisplayName ¶
func (pb ParameterBase) DisplayName() string
func (ParameterBase) ValueType ¶
func (pb ParameterBase) ValueType() string
type PortReference ¶ added in v0.23.0
type SubGraphPortBoundary ¶ added in v0.39.0
Click to show internal directories.
Click to hide internal directories.