package
0.0.0-20240728154953-06cdac4f4320
Repository: https://github.com/task-orc/task-core.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewWorkflowNodeDefs creates a slice of workflow nodes from the parser.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DataObjectDef is a struct that represents the Data object definition Eg: { "name": "string", "age": "int", "address": { "street": "string", "city": "string" }, "hobbies": ["string"] } Def would be: DataObjectDef{ Fields: []DataField{ { Field: "name", Type: DataType{ Type: "string", }, }, { Field: "age", Type: DataType{ Type: "int", }, }, { Field: "address", Type: DataType{ Type: "object", ObjectDef: &DataObjectDef{ Fields: []DataField{ { Field: "street", Type: DataType{ Type: "string", }, }, { Field: "city", Type: DataType{ Type: "string", }, }, }, }, }, }, { Field: "hobbies", Type: DataType{ Type: "array", ArrayDef: &DataArrayDef{ TypeDef: DataType{ Type: "string", }, }, }, }, }, }.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaskDef is a struct that represents the task definition A task is created as an instance of the task def Eg: {"id": "task1", "name": "Otp Verification", "description": "Verify the otp", "input": { "otp": "string" }, "output": { "isVerified": "bool" } } Def would be: TaskDef{ ID: "task1", Name: "Otp Verification", Description: "Verify the otp", Input: DataObjectDef{ Fields: []DataField{ { Field: "otp", Type: DataType{ Type: "string", }, }, }, }, Output: DataObjectDef{ Fields: []DataField{ { Field: "isVerified", Type: DataType{ Type: "bool", }, }, }, }, }.
No description provided by the author
WorkflowDef is a struct that represents the workflow definition A workflow is created as an instance of the workflow def.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
Parser helps parsing the data from different sources to the expected ParseOutputs.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author