Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface {
GetTaskPoller(*model.TaskExecution, *model.JobDef) (TaskPoller, error)
}
type FactoryImpl ¶
type FactoryImpl struct { TaskExecutionDao dao.TaskExecutionDao KubeClient kubernetes.Interface }
func (*FactoryImpl) GetTaskPoller ¶
func (factory *FactoryImpl) GetTaskPoller(te *model.TaskExecution, jobDef *model.JobDef) (TaskPoller, error)
type KubeJobTaskPoller ¶
type KubeJobTaskPoller struct { Client kubernetes.Interface TaskExecutionDao dao.TaskExecutionDao }
func (*KubeJobTaskPoller) Poll ¶
func (poller *KubeJobTaskPoller) Poll(te *model.TaskExecution, db *gorm.DB) (bool, error)
type ParallelJobTaskPoller ¶
type ParallelJobTaskPoller struct { TaskExecutionDao dao.TaskExecutionDao TaskDef *model.ParallelTask }
func (*ParallelJobTaskPoller) Poll ¶
func (poller *ParallelJobTaskPoller) Poll(te *model.TaskExecution, db *gorm.DB) (bool, error)
type TaskPoller ¶
Click to show internal directories.
Click to hide internal directories.