task

package
v0.19.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMigrateTask

func CreateMigrateTask(doer, u *user_model.User, opts base.MigrateOptions) (*admin_model.Task, error)

CreateMigrateTask creates a migrate task

func Init

func Init() error

Init will start the service to get all unfinished tasks and run them

func MigrateRepository

func MigrateRepository(doer, u *user_model.User, opts base.MigrateOptions) error

MigrateRepository add migration repository to task

func Run

func Run(t *admin_model.Task) error

Run a task

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL