Documentation ¶
Index ¶
- type TaskExecutionDao
- type TaskExecutionDaoImpl
- func (dao *TaskExecutionDaoImpl) FindById(id uint, db *gorm.DB) (*model.TaskExecution, error)
- func (dao *TaskExecutionDaoImpl) FindChildTasks(parentTaskId uint, db *gorm.DB) ([]*model.TaskExecution, error)
- func (dao *TaskExecutionDaoImpl) FindCompletedByWorkflowId(wid uint, db *gorm.DB) ([]*model.TaskExecution, error)
- func (dao *TaskExecutionDaoImpl) FindUncompletedByWorkflowId(wid uint, db *gorm.DB) ([]*model.TaskExecution, error)
- func (dao *TaskExecutionDaoImpl) Update(execution *model.TaskExecution, db *gorm.DB) error
- type WorkflowDao
- type WorkflowDaoImpl
- type WorkflowExecutionDao
- type WorkflowExecutionDaoImpl
- func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Create(execution *model.WorkflowExecution, db *gorm.DB) error
- func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Find(limit int, offset int, order string, db *gorm.DB) ([]*model.WorkflowExecution, error)
- func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) FindById(id uint, withWorkflow bool, withTasks bool, db *gorm.DB) (*model.WorkflowExecution, error)
- func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) FindUncompletedWorkflowExecs(db *gorm.DB) ([]*model.WorkflowExecution, error)
- func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Update(execution *model.WorkflowExecution, db *gorm.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskExecutionDao ¶
type TaskExecutionDao interface { FindById(uint, *gorm.DB) (*model.TaskExecution, error) FindCompletedByWorkflowId(uint, *gorm.DB) ([]*model.TaskExecution, error) FindUncompletedByWorkflowId(uint, *gorm.DB) ([]*model.TaskExecution, error) FindChildTasks(uint, *gorm.DB) ([]*model.TaskExecution, error) Update(*model.TaskExecution, *gorm.DB) error }
type TaskExecutionDaoImpl ¶
type TaskExecutionDaoImpl struct{}
func (*TaskExecutionDaoImpl) FindById ¶
func (dao *TaskExecutionDaoImpl) FindById(id uint, db *gorm.DB) (*model.TaskExecution, error)
func (*TaskExecutionDaoImpl) FindChildTasks ¶
func (dao *TaskExecutionDaoImpl) FindChildTasks(parentTaskId uint, db *gorm.DB) ([]*model.TaskExecution, error)
func (*TaskExecutionDaoImpl) FindCompletedByWorkflowId ¶
func (dao *TaskExecutionDaoImpl) FindCompletedByWorkflowId(wid uint, db *gorm.DB) ([]*model.TaskExecution, error)
func (*TaskExecutionDaoImpl) FindUncompletedByWorkflowId ¶
func (dao *TaskExecutionDaoImpl) FindUncompletedByWorkflowId(wid uint, db *gorm.DB) ([]*model.TaskExecution, error)
func (*TaskExecutionDaoImpl) Update ¶
func (dao *TaskExecutionDaoImpl) Update(execution *model.TaskExecution, db *gorm.DB) error
type WorkflowDao ¶
type WorkflowExecutionDao ¶
type WorkflowExecutionDao interface { FindById(uint, bool, bool, *gorm.DB) (*model.WorkflowExecution, error) Find(limit int, offset int, order string, db *gorm.DB) ([]*model.WorkflowExecution, error) Create(*model.WorkflowExecution, *gorm.DB) error Update(*model.WorkflowExecution, *gorm.DB) error FindUncompletedWorkflowExecs(*gorm.DB) ([]*model.WorkflowExecution, error) }
type WorkflowExecutionDaoImpl ¶
type WorkflowExecutionDaoImpl struct{}
func (*WorkflowExecutionDaoImpl) Create ¶
func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Create(execution *model.WorkflowExecution, db *gorm.DB) error
func (*WorkflowExecutionDaoImpl) Find ¶
func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Find(limit int, offset int, order string, db *gorm.DB) ([]*model.WorkflowExecution, error)
func (*WorkflowExecutionDaoImpl) FindById ¶
func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) FindById(id uint, withWorkflow bool, withTasks bool, db *gorm.DB) (*model.WorkflowExecution, error)
func (*WorkflowExecutionDaoImpl) FindUncompletedWorkflowExecs ¶
func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) FindUncompletedWorkflowExecs(db *gorm.DB) ([]*model.WorkflowExecution, error)
func (*WorkflowExecutionDaoImpl) Update ¶
func (workflowExecutionDaoImpl *WorkflowExecutionDaoImpl) Update(execution *model.WorkflowExecution, db *gorm.DB) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.