Documentation
¶
Index ¶
- func CreateDataReqToData(specVersion string, createDataReq model.CreateDataReq) (model.Data, error)
- func DataToCreateDataReq(data model.Data) model.CreateDataReq
- func GetWorkflowFromDB(workflowID string) (*model.Workflow, error)
- func GetWorkflowFromDBIncludeDeleted(workflowID string) (*model.Workflow, error)
- func ResolveCreateSourceType(specVersion string, createDataReq model.CreateDataReq) (string, string, error)
- type WorkflowGraphDiff
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDataReqToData ¶
func DataToCreateDataReq ¶
func DataToCreateDataReq(data model.Data) model.CreateDataReq
DataToCreateDataReq strips IDs from a persisted Data graph so it can be fed back into createWorkflowInternal as a fresh CreateDataReq (with new IDs to be issued downstream). Used by the workflow clone path.
func ResolveCreateSourceType ¶
Types ¶
type WorkflowGraphDiff ¶
type WorkflowGraphDiff struct {
WorkflowData model.Data
TaskGroupsToUpsert []model.TaskGroupDBModel
TasksToUpsert []model.TaskDBModel
TaskGroupsToSoftDrop []model.TaskGroupDBModel
TasksToSoftDrop []model.TaskDBModel
}
func BuildWorkflowGraphDiff ¶
Click to show internal directories.
Click to hide internal directories.