handlers

package
v0.1.114 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCancelHandler

func NewCancelHandler(ds datastore.Datastore, b broker.Broker) job.HandlerFunc

func NewHeartbeatHandler

func NewHeartbeatHandler(ds datastore.Datastore) node.HandlerFunc

func NewJobSchedulerHandler added in v0.1.109

func NewJobSchedulerHandler(ds datastore.Datastore, b broker.Broker, l locker.Locker) (func(ctx context.Context, s *tork.ScheduledJob) error, error)

func NewLogHandler added in v0.1.63

func NewLogHandler(ds datastore.Datastore) func(p *tork.TaskLogPart)

func NewPendingHandler

func NewPendingHandler(ds datastore.Datastore, b broker.Broker) task.HandlerFunc

func NewProgressHandler added in v0.1.91

func NewProgressHandler(ds datastore.Datastore, onJob job.HandlerFunc) task.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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