core

package
v0.35.7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTask added in v0.23.0

func AddTask(ctx context.Context, task Exectable) error

func CancelTask added in v0.23.0

func CancelTask(ctx context.Context, id string) error

func ExecCommandString added in v0.23.1

func ExecCommandString(ctx context.Context, cmd string) error

func GetLength added in v0.23.0

func GetLength(ctx context.Context) int

func Run

func Run(ctx context.Context)

Types

type Exectable added in v0.23.0

type Exectable interface {
	Type() tasktype.TaskType
	TaskID() string
	Execute(ctx context.Context) error
}

Directories

Path Synopsis
tasks

Jump to

Keyboard shortcuts

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