runner

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

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

func (*Job) Run added in v0.7.0

func (j *Job) Run()

func (*Job) Stop

func (j *Job) Stop()

type Runner

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

func New

func New(
	updateInterval time.Duration,
	scriptsManager scriptsManager,
	dsManager dsManager,
	storagesManager storagesManager,
	coreModules []modules.Module,
	cliScript string,
	logger *zap.Logger,
) *Runner

func (*Runner) RunScript added in v0.7.1

func (rnr *Runner) RunScript(name string, req *http.Request) error

func (*Runner) Stop

func (rnr *Runner) Stop()

func (*Runner) Watch

func (rnr *Runner) Watch(ctx context.Context, ctxCancel context.CancelFunc, once bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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