job

package
v1.6.5-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(ctx context.Context, t mq.Task)

Types

type EventLogCleanupTask added in v1.5.6

type EventLogCleanupTask struct{}

func (*EventLogCleanupTask) Arg added in v1.5.6

func (t *EventLogCleanupTask) Arg() interface{}

func (*EventLogCleanupTask) Handle added in v1.5.6

func (t *EventLogCleanupTask) Handle(ctx context.Context) error

func (*EventLogCleanupTask) Subject added in v1.5.6

func (t *EventLogCleanupTask) Subject() string

type EventLogTask added in v1.5.6

type EventLogTask struct {
	*models.EventLog
	mq.TaskState
	mq.TaskUUID
}

func NewEventLogTask added in v1.5.6

func NewEventLogTask(m *models.EventLog) *EventLogTask

func (*EventLogTask) Arg added in v1.5.6

func (t *EventLogTask) Arg() interface{}

func (*EventLogTask) Handle added in v1.5.6

func (t *EventLogTask) Handle(ctx context.Context) error

func (*EventLogTask) Subject added in v1.5.6

func (t *EventLogTask) Subject() string

type WasmLogTask added in v1.1.0

type WasmLogTask struct {
	mq.TaskState
	// contains filtered or unexported fields
}

func NewWasmLogTask added in v1.1.0

func NewWasmLogTask(ctx context.Context, logLevel, logSrc, msg string) *WasmLogTask

func (*WasmLogTask) Arg added in v1.1.0

func (t *WasmLogTask) Arg() interface{}

func (*WasmLogTask) ID added in v1.1.0

func (t *WasmLogTask) ID() string

func (*WasmLogTask) Subject added in v1.1.0

func (t *WasmLogTask) Subject() string

Jump to

Keyboard shortcuts

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