Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FactoryImpl ¶
type FactoryImpl struct { TaskExecutionDao dao.TaskExecutionDao KubeClient kubernetes.Interface }
func (*FactoryImpl) GetTaskExecutor ¶
func (factory *FactoryImpl) GetTaskExecutor(task model.Task) (TaskExecutor, error)
type KubeJobTaskExecutor ¶
type KubeJobTaskExecutor struct { Task *model.KubeJobTask TaskExecutionDao dao.TaskExecutionDao KubeClient kubernetes.Interface }
func (*KubeJobTaskExecutor) Execute ¶
func (executor *KubeJobTaskExecutor) Execute(we *model.WorkflowExecution, db *gorm.DB, input string, parentId uint, prevId uint) (*model.TaskExecution, error)
type ParallelJobTaskExecutor ¶
type ParallelJobTaskExecutor struct { Task *model.ParallelTask TaskExecutionDao dao.TaskExecutionDao TaskExecutorFactory Factory }
func (*ParallelJobTaskExecutor) Execute ¶
func (executor *ParallelJobTaskExecutor) Execute(we *model.WorkflowExecution, db *gorm.DB, input string, parentId uint, prevId uint) (*model.TaskExecution, error)
type TaskExecutor ¶
type TaskExecutor interface {
Execute(we *model.WorkflowExecution, db *gorm.DB, input string, parentId uint, prevId uint) (*model.TaskExecution, error)
}
Click to show internal directories.
Click to hide internal directories.