scheduler

package
v0.0.0-...-960f219 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStep

type MockStep[RequestType scheduler.PipelineRequest] struct {
	Name     string
	Alias    string
	InitFunc func(alias string, db db.DB, opts conf.RawOpts) error
	RunFunc  func(traceLog *slog.Logger, request RequestType) (*scheduler.StepResult, error)
}

func (*MockStep[RequestType]) GetAlias

func (m *MockStep[RequestType]) GetAlias() string

func (*MockStep[RequestType]) GetName

func (m *MockStep[RequestType]) GetName() string

func (*MockStep[RequestType]) Init

func (m *MockStep[RequestType]) Init(alias string, db db.DB, opts conf.RawOpts) error

func (*MockStep[RequestType]) Run

func (m *MockStep[RequestType]) Run(traceLog *slog.Logger, request RequestType) (*scheduler.StepResult, error)

Jump to

Keyboard shortcuts

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