Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicField ¶
type DynamicField struct { ID string `json:"id"` Name string `json:"name"` VariableType string `json:"variable_type"` DynamicTable Identifier `json:"dynamic_table,omitempty"` Meta MetaData `json:"meta"` }
type DynamicTable ¶
type Identifier ¶
type NewDynamicField ¶
type NewDynamicTable ¶
type NewToken ¶
type NewWorkflow ¶
type NewWorkflow struct { ID string `json:"id"` Name string `json:"name"` Code string `json:"code"` BuildIn bool `json:"build_in"` FailOnError bool `json:"fail_on_error"` ObjectType WorkflowType `json:"object_type"` Children []Identifier `json:"children"` }
func (NewWorkflow) Validate ¶
func (w NewWorkflow) Validate() *apperror.AppError
TODO add more data, what is wrong.
type Run ¶
type Run struct { ID string `json:"id"` Workflow Identifier `json:"workflow"` User Identifier `json:"user"` Error *string `json:"error"` StartTime time.Time `json:"start_time"` FinishTime time.Time `json:"finish_time"` RunTime string `json:"run_time"` Meta MetaData `json:"meta"` }
func (*Run) CalculateRuntime ¶
func (r *Run) CalculateRuntime()
type UpdateWorkflow ¶
type UpdateWorkflow struct { Name *string `json:"name"` Code *string `json:"code"` BuildIn *bool `json:"build_in"` FailOnError *bool `json:"fail_on_error"` ObjectType *WorkflowType `json:"object_type"` Children []Identifier `json:"children"` }
type User ¶
type WorkflowType ¶
type WorkflowType string
const ( Javascript WorkflowType = "javascript" External WorkflowType = "external" Folder WorkflowType = "folder" )
Click to show internal directories.
Click to hide internal directories.