Documentation
¶
Index ¶
- func BuildNodeTypeSchema(node nodes.Node) schema.NodeType
- func RecurseDependenciesType[T any](dependent nodes.Dependent) []T
- type CustomGraphSerialization
- type Instance
- func (i *Instance) AddProducer(producerName string, producer nodes.NodeOutput[artifact.Artifact])
- func (i *Instance) ApplyAppSchema(jsonPayload []byte) error
- func (i *Instance) Artifact(producerName string) artifact.Artifact
- func (i *Instance) ConnectNodes(nodeOutId, outPortName, nodeInId, inPortName string)
- func (i *Instance) CreateNode(nodeType string) (nodes.Node, string, error)
- func (i *Instance) DeleteMetadata(key string)
- func (i *Instance) DeleteNode(nodeId string)
- func (i *Instance) DeleteNodeInputConnection(nodeId, portName string)
- func (i *Instance) EncodeToAppSchema(appSchema *schema.App, encoder *jbtf.Encoder)
- func (i *Instance) InitializeParameters(set *flag.FlagSet)
- func (i *Instance) ModelVersion() uint32
- func (i *Instance) Node(nodeId string) nodes.Node
- func (i *Instance) NodeId(node nodes.Node) string
- func (i *Instance) NodeInstanceSchema(node nodes.Node) schema.NodeInstance
- func (i *Instance) Parameter(nodeId string) Parameter
- func (i *Instance) ParameterData(nodeId string) []byte
- func (i *Instance) Producer(producerName string) nodes.NodeOutput[artifact.Artifact]
- func (i *Instance) ProducerNames() []string
- func (i *Instance) Reset()
- func (i *Instance) Schema() schema.GraphInstance
- func (i *Instance) SetMetadata(key string, value any)
- func (i *Instance) SetNodeAsProducer(nodeId, producerName string)
- func (i *Instance) UpdateParameter(nodeId string, data []byte) (bool, error)
- type Parameter
- type SwaggerParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecurseDependenciesType ¶
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func New ¶
func New(typeFactory *refutil.TypeFactory) *Instance
func (*Instance) AddProducer ¶
func (*Instance) ApplyAppSchema ¶
func (*Instance) ConnectNodes ¶
func (*Instance) CreateNode ¶
func (*Instance) DeleteMetadata ¶
func (*Instance) DeleteNode ¶
func (*Instance) DeleteNodeInputConnection ¶
func (*Instance) EncodeToAppSchema ¶
func (*Instance) InitializeParameters ¶
func (*Instance) ModelVersion ¶
func (*Instance) NodeInstanceSchema ¶
func (i *Instance) NodeInstanceSchema(node nodes.Node) schema.NodeInstance
func (*Instance) ParameterData ¶
func (*Instance) ProducerNames ¶
func (*Instance) Schema ¶
func (i *Instance) Schema() schema.GraphInstance
func (*Instance) SetMetadata ¶
func (*Instance) SetNodeAsProducer ¶
type SwaggerParameter ¶
Click to show internal directories.
Click to hide internal directories.