factory

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecutorFactory

type ExecutorFactory struct {
	sync.RWMutex
	// contains filtered or unexported fields
}
var (
	Executor_Factory ExecutorFactory = newExecutorFactory()
)

func (*ExecutorFactory) GetExecutor

func (f *ExecutorFactory) GetExecutor(t pb.TaskType) (executors.Executor, error)

func (*ExecutorFactory) Submit

type ExecutorGenerator

type ExecutorGenerator func() (executors.Executor, error)

Jump to

Keyboard shortcuts

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