Help us shape the future of Go! Take the 2026 Go Developer Survey

tasks

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetType

func GetType(task *v1.Task) taskTypes.TaskType

func Is

func Is(task *v1.Task, target taskTypes.TaskType) bool

Types

type Manager

type Manager interface {
	Next(ctx context.Context) (*v1.Task, time.Duration, error)
	Process(ctx context.Context, task *v1.Task, cc types.ConnectorClient) error
	ShouldDebug() bool
	GetTempDir() string
}

type TaskHandler

type TaskHandler interface {
	HandleTask(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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