task

package
v1.15.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMigrateTask added in v1.12.0

func CreateMigrateTask(doer, u *models.User, opts base.MigrateOptions) (*models.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 *models.User, opts base.MigrateOptions) error

MigrateRepository add migration repository to task

func Run

func Run(t *models.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