Documentation ¶
Index ¶
- func DirectRun(cmd *cobra.Command, args []string, pluginTask core.PluginTask, ...)
- func LoadPlugins(pluginsDir string, config *viper.Viper, logger core.Logger, db *gorm.DB) error
- func MigrateDb(db *gorm.DB) error
- func NewGormDb(config *viper.Viper, logger core.Logger) (*gorm.DB, error)
- func RunCmd(cmd *cobra.Command)
- func RunPipeline(cfg *viper.Viper, log core.Logger, db *gorm.DB, pipelineId uint64, ...) error
- func RunPluginSubTasks(cfg *viper.Viper, logger core.Logger, db *gorm.DB, ctx context.Context, ...) error
- func RunPluginTask(cfg *viper.Viper, logger core.Logger, db *gorm.DB, ctx context.Context, ...) error
- func RunTask(cfg *viper.Viper, logger core.Logger, db *gorm.DB, ctx context.Context, ...) error
- func UpdateProgressDetail(db *gorm.DB, taskId uint64, progressDetail *models.TaskProgressDetail, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPlugins ¶
LoadPlugins load plugins from local directory
func RunPipeline ¶
func RunPluginSubTasks ¶
func RunPluginTask ¶
func UpdateProgressDetail ¶
func UpdateProgressDetail(db *gorm.DB, taskId uint64, progressDetail *models.TaskProgressDetail, p *core.RunningProgress)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.