Documentation
¶
Index ¶
- func BuildNodeTypeSchema(registeredType string, node nodes.Node) schema.NodeType
- func ForeachManifestNodeOutput(i *Instance, ...) error
- func RecurseDependenciesType[T any](dependent nodes.Node) []T
- func SwaggerSpec(instance *Instance) swagger.Spec
- func WriteManifestToZip(i *Instance, zw *zip.Writer, nodeId string, node nodes.Node, ...) error
- func WriteMermaid(a *Instance, out io.Writer) error
- func WriteOutline(graph *Instance, out io.Writer) error
- func WriteSwagger(instance *Instance, out io.Writer) error
- func WriteToFolder(i *Instance, folder string) error
- func WriteToZip(i *Instance, zw *zip.Writer) error
- type Config
- type CustomGraphSerialization
- type Details
- type Instance
- func (a *Instance) AddProducer(producerName string, producer nodes.Output[manifest.Manifest])
- func (a *Instance) ApplyAppSchema(jsonPayload []byte) error
- func (a *Instance) ApplyProfile(profile variable.Profile) error
- func (i *Instance) BuildSchemaForAllNodeTypes() []schema.NodeType
- func (a *Instance) ConnectNodes(nodeOutId, outPortName, nodeInId, inPortName string)
- func (a *Instance) CreateNode(nodeType string) (nodes.Node, string, error)
- func (a *Instance) DeleteMetadata(key string)
- func (a *Instance) DeleteNode(nodeToDelete nodes.Node)
- func (a *Instance) DeleteNodeById(nodeId string)
- func (a *Instance) DeleteNodeInputConnection(nodeId, portName string)
- func (a *Instance) DeleteProfile(profileName string) error
- func (a *Instance) DeleteVariable(variablePath string)
- func (a *Instance) EncodeToAppSchema() ([]byte, error)
- func (a *Instance) ExecutionReport() schema.GraphExecutionReport
- func (a *Instance) GetAuthors() []schema.Author
- func (a *Instance) GetDescription() string
- func (a *Instance) GetName() string
- func (a *Instance) GetVariable(variablePath string) variable.Variable
- func (a *Instance) GetVersion() string
- func (a *Instance) HasNodeWithId(nodeId string) bool
- func (a *Instance) IsPortNamed(node nodes.Node, portName string) (string, bool)
- func (a *Instance) LoadProfile(profileName string) error
- func (a *Instance) Manifest(producerName string) manifest.Manifest
- func (a *Instance) ModelVersion() uint32
- func (a *Instance) NewVariable(variablePath string, variable variable.Variable) string
- func (a *Instance) Node(nodeId string) nodes.Node
- func (a *Instance) NodeId(node nodes.Node) string
- func (a *Instance) NodeIds() []string
- func (a *Instance) NodeInstanceSchema(node nodes.Node) schema.NodeInstance
- func (a *Instance) Parameter(nodeId string) Parameter
- func (a *Instance) ParameterData(nodeId string) []byte
- func (a *Instance) Producer(producerName string) nodes.Output[manifest.Manifest]
- func (a *Instance) ProducerNames() []string
- func (a *Instance) Profiles() []string
- func (a *Instance) RenameProfile(profile, newName string) error
- func (a *Instance) Reset()
- func (a *Instance) SaveProfile(profileName string)
- func (a *Instance) Schema() schema.GraphInstance
- func (a *Instance) SetDescription(description string)
- func (a *Instance) SetDetails(details Details)
- func (a *Instance) SetMetadata(key string, value any)
- func (a *Instance) SetName(name string)
- func (a *Instance) SetNodeAsProducer(nodeId, nodePort, producerName string)
- func (a *Instance) SetVariableDescription(variablePath, description string) error
- func (a *Instance) SetVariableInfo(variablePath, newPath, description string) error
- func (a *Instance) SetVersion(version string)
- func (a *Instance) SwaggerDefinition() swagger.Definition
- func (a *Instance) UpdateParameter(nodeId string, data []byte) (bool, error)
- func (a *Instance) UpdateVariable(variablePath string, data []byte) (bool, error)
- func (a *Instance) VariableData(variablePath string) ([]byte, error)
- type Parameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildNodeTypeSchema ¶
func ForeachManifestNodeOutput ¶ added in v0.32.0
func RecurseDependenciesType ¶
func SwaggerSpec ¶ added in v0.32.0
func WriteManifestToZip ¶ added in v0.32.0
func WriteToFolder ¶ added in v0.32.0
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func (*Instance) AddProducer ¶
func (*Instance) ApplyAppSchema ¶
func (*Instance) ApplyProfile ¶ added in v0.32.0
func (*Instance) BuildSchemaForAllNodeTypes ¶ added in v0.32.0
func (*Instance) ConnectNodes ¶
func (*Instance) CreateNode ¶
func (*Instance) DeleteMetadata ¶
func (*Instance) DeleteNode ¶
func (*Instance) DeleteNodeById ¶ added in v0.28.0
func (*Instance) DeleteNodeInputConnection ¶
func (*Instance) DeleteProfile ¶ added in v0.31.0
func (*Instance) DeleteVariable ¶ added in v0.28.0
func (*Instance) EncodeToAppSchema ¶
func (*Instance) ExecutionReport ¶ added in v0.32.0
func (a *Instance) ExecutionReport() schema.GraphExecutionReport
func (*Instance) GetAuthors ¶ added in v0.32.0
func (*Instance) GetDescription ¶ added in v0.32.0
func (*Instance) GetVariable ¶ added in v0.28.0
func (*Instance) GetVersion ¶ added in v0.32.0
func (*Instance) HasNodeWithId ¶ added in v0.27.0
func (*Instance) IsPortNamed ¶ added in v0.25.0
func (*Instance) LoadProfile ¶ added in v0.31.0
func (*Instance) ModelVersion ¶
func (*Instance) NewVariable ¶ added in v0.28.0
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> VARIABLES >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
func (*Instance) NodeInstanceSchema ¶
func (a *Instance) NodeInstanceSchema(node nodes.Node) schema.NodeInstance
func (*Instance) ParameterData ¶
func (*Instance) ProducerNames ¶
func (*Instance) RenameProfile ¶ added in v0.31.0
func (*Instance) SaveProfile ¶ added in v0.31.0
func (*Instance) Schema ¶
func (a *Instance) Schema() schema.GraphInstance
func (*Instance) SetDescription ¶ added in v0.32.0
func (*Instance) SetDetails ¶ added in v0.32.0
func (*Instance) SetMetadata ¶
func (*Instance) SetNodeAsProducer ¶
func (*Instance) SetVariableDescription ¶ added in v0.28.0
func (*Instance) SetVariableInfo ¶ added in v0.28.0
func (*Instance) SetVersion ¶ added in v0.32.0
func (*Instance) SwaggerDefinition ¶ added in v0.32.0
func (a *Instance) SwaggerDefinition() swagger.Definition
func (*Instance) UpdateParameter ¶
func (*Instance) UpdateVariable ¶ added in v0.28.0
Click to show internal directories.
Click to hide internal directories.