actioner

package
v0.12.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Schedule(context.Context, string, *queue.QueuedJob) (counter.Interface, error)
	Enqueue(counter.Interface)
	Deschedule(counter.Interface)
	RemoveConsumer(counter.Interface)
	Trigger(*api.TriggerRequest, func(*api.TriggerResponse))
	AddToControlLoop(*queue.ControlEvent)
	DeliverablePrefixes(...string) []int64
	UnDeliverablePrefixes(...string)
	Stage(int64, string) bool
	Unstage(int64)
}

func New

func New(opts Options) Interface

type Options

type Options struct {
	Queue        *eventsqueue.Processor[int64, counter.Interface]
	TriggerFn    api.TriggerFunction
	ControlLoop  *loop.Interface[*queue.ControlEvent]
	SchedBuilder *scheduler.Builder
	Key          *key.Key
	Client       clientapi.Interface
	Consumer     *consumer.Consumer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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