Documentation
¶
Index ¶
- type App
- type AppNodeInstance
- type AppProfile
- type Author
- type AuthorContact
- type GraphExecutionReport
- type GraphInstance
- type NestedGroup
- type NodeExecutionReport
- type NodeInput
- type NodeInstance
- type NodeInstanceOutputPort
- type NodeOutput
- type NodeType
- type Parameter
- type ParameterBase
- type PersistedVariable
- type PortReference
- type Producer
- type RuntimeVariable
- type WebColor
- type WebScene
- type WebSceneFog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Name string `json:"name,omitempty"`
Version string `json:"version,omitempty"`
Description string `json:"description,omitempty"`
Authors []Author `json:"authors,omitempty"`
WebScene *WebScene `json:"webScene,omitempty"`
Producers map[string]Producer `json:"producers"`
Nodes map[string]AppNodeInstance `json:"nodes"`
Metadata map[string]any `json:"metadata,omitempty"`
Variables NestedGroup[PersistedVariable] `json:"variables,omitempty"`
Profiles map[string]AppProfile `json:"profiles,omitempty"`
}
type AppNodeInstance ¶ added in v0.21.3
type AppNodeInstance struct {
Type string `json:"type"`
AssignedInput map[string]PortReference `json:"assignedInput,omitempty"`
Data json.RawMessage `json:"data,omitempty"`
Variable *string `json:"variable,omitempty"`
}
type AppProfile ¶ added in v0.31.0
type AppProfile struct {
Data map[string]json.RawMessage `json:"data,omitempty"`
}
type Author ¶ added in v0.21.3
type Author struct {
Name string `json:"name"`
ContactInfo []AuthorContact `json:"contactInfo,omitempty"`
}
type AuthorContact ¶ added in v0.21.3
type GraphExecutionReport ¶ added in v0.32.0
type GraphExecutionReport struct {
Nodes map[string]NodeExecutionReport `json:"nodes"`
}
type GraphInstance ¶ added in v0.21.3
type GraphInstance struct {
Producers map[string]Producer `json:"producers"`
Nodes map[string]NodeInstance `json:"nodes"`
Notes map[string]any `json:"notes"`
Variables NestedGroup[RuntimeVariable] `json:"variables,omitempty"`
Profiles []string `json:"profiles,omitempty"`
}
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 NodeExecutionReport ¶ added in v0.32.0
type NodeExecutionReport struct {
Output map[string]nodes.ExecutionReport `json:"output"`
}
type NodeInstance ¶
type NodeInstance struct {
Type string `json:"type"`
Name string `json:"name"`
AssignedInput map[string]PortReference `json:"assignedInput"`
Output map[string]NodeInstanceOutputPort `json:"output"`
Parameter Parameter `json:"parameter,omitempty"`
Variable any `json:"variable,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
}
type NodeInstanceOutputPort ¶ added in v0.23.0
type NodeInstanceOutputPort struct {
Version int `json:"version"`
}
type NodeOutput ¶
type NodeType ¶
type NodeType struct {
DisplayName string `json:"displayName"`
Info string `json:"info"`
Type string `json:"type"`
Path string `json:"path"`
Outputs map[string]NodeOutput `json:"outputs,omitempty"`
Inputs map[string]NodeInput `json:"inputs,omitempty"`
Parameter Parameter `json:"parameter,omitempty"`
}
type ParameterBase ¶
type ParameterBase struct {
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
}
func (ParameterBase) DisplayName ¶
func (gps ParameterBase) DisplayName() string
func (ParameterBase) ValueType ¶
func (gps ParameterBase) ValueType() string
type PersistedVariable ¶ added in v0.28.0
type PersistedVariable struct {
Description string `json:"description"`
Data json.RawMessage `json:"data"`
}
type PortReference ¶ added in v0.23.0
type RuntimeVariable ¶ added in v0.28.0
type WebColor ¶ added in v0.32.2
func (WebColor) MarshalJSON ¶ added in v0.32.2
func (*WebColor) UnmarshalJSON ¶ added in v0.32.2
type WebSceneFog ¶ added in v0.21.3
Click to show internal directories.
Click to hide internal directories.