task

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentInstallingApp

func GetCurrentInstallingApp() *model.InstalledApp

func ReloadTask

func ReloadTask() error

func RunInstallApp

func RunInstallApp(v model.InstalledApp)

func ScheduleRefreshApps

func ScheduleRefreshApps() error

Types

type Task

type Task struct {
	Running       bool `json:"running"`
	InstallingApp *model.InstalledApp
	// contains filtered or unexported fields
}

func (*Task) Run

func (t *Task) Run()

func (*Task) RunImmediately

func (t *Task) RunImmediately(v model.InstalledApp)

func (*Task) RunSchedule

func (t *Task) RunSchedule() error

func (*Task) Stop

func (t *Task) Stop()

Jump to

Keyboard shortcuts

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