v1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSparkTestWorker

func NewSparkTestWorker(t *testing.T, chain *spark.Chain, options ...Option) sdk_v1.Worker

func NewSparkWorker

func NewSparkWorker(cfg *config.Config, chain *spark.Chain, options ...Option) (sdk_v1.Worker, error)

Types

type Option

type Option = func(je *SparkWorker) *SparkWorker

func WithIOHandler

func WithIOHandler(vh sdk_v1.IOHandler) Option

func WithLog

func WithLog(log sdk_v1.Logger) Option

func WithStageProgressHandler

func WithStageProgressHandler(sph sdk_v1.StageProgressHandler) Option

type SparkWorker

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

func (*SparkWorker) Execute

func (w *SparkWorker) Execute(metadata sdk_v1.Context) sdk_v1.StageError

type TestWorker

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

func (TestWorker) Execute

func (t TestWorker) Execute(ctx sdk_v1.Context) sdk_v1.StageError

Jump to

Keyboard shortcuts

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