trigger

package
v0.6.0-beta.202406191401 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TriggerRunner

type TriggerRunner interface {
	Run()
	GetTrigger() *modconfig.Trigger
	GetFqueue() *fqueue.FunctionQueue
}

func NewTriggerRunner

func NewTriggerRunner(ctx context.Context, commandBus handler.FpCommandBus, rootMod *modconfig.Mod, trigger *modconfig.Trigger) TriggerRunner

type TriggerRunnerBase

type TriggerRunnerBase struct {
	Trigger *modconfig.Trigger

	Fqueue *fqueue.FunctionQueue
	// contains filtered or unexported fields
}

func (*TriggerRunnerBase) GetFqueue added in v0.2.0

func (tr *TriggerRunnerBase) GetFqueue() *fqueue.FunctionQueue

func (*TriggerRunnerBase) GetTrigger added in v0.2.0

func (tr *TriggerRunnerBase) GetTrigger() *modconfig.Trigger

func (*TriggerRunnerBase) Run

func (tr *TriggerRunnerBase) Run()

type TriggerRunnerQuery

type TriggerRunnerQuery struct {
	TriggerRunnerBase
}

func (*TriggerRunnerQuery) Run

func (tr *TriggerRunnerQuery) Run()

func (*TriggerRunnerQuery) RunOne added in v0.2.0

func (tr *TriggerRunnerQuery) RunOne() error

Jump to

Keyboard shortcuts

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