module_runner

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStageResultNotFound            = errors.New("stage result not found")
	ErrChainDoesNotHaveACompleteStage = errors.New("no complete stage found in spark chain")
)

Functions

func LoadModuleConfig

func LoadModuleConfig(opts ...ModuleOption) (*config, error)

Types

type ModuleOption

type ModuleOption = func(je *moduleOpts) *moduleOpts

func WithBasePath

func WithBasePath(configBasePath string) ModuleOption

func WithBinBasePath

func WithBinBasePath(binBasePath string) ModuleOption

type Runner

type Runner interface {
	Stop() error
}

func RunModule

func RunModule(cfg *config) (Runner, error)

Jump to

Keyboard shortcuts

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