entry_reader

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryReader

type EntryReader struct {
	// contains filtered or unexported fields
}

func New

func New(params Params) *EntryReader

func (*EntryReader) LoadDags

func (er *EntryReader) LoadDags(serverName string) error

func (*EntryReader) LogErr

func (er *EntryReader) LogErr(msg string, err error)

func (*EntryReader) Read

func (er *EntryReader) Read(now time.Time) ([]*scheduler.Entry, error)

type JobFactory

type JobFactory interface {
	NewJob(dag *dag.DAG, next time.Time) scheduler.Job
}

type Params

type Params struct {
	DagsDir       string
	JobFactory    JobFactory
	Logger        logger.Logger
	EngineFactory engine.Factory
}

Jump to

Keyboard shortcuts

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