executor

package
v0.0.0-...-feeaf7e Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Executor

type Executor struct {
	HostExecutor         IExecutor
	PipelineExecRuntimes map[uint32]*PipelineExecRuntime
}

func NewExecutor

func NewExecutor() *Executor

func (*Executor) Exec

func (o *Executor) Exec(letterString string)

type IExecutor

type IExecutor interface {
	Start(ctx context.Context, payload *letter.StartPipelinePayload, w io.WriteCloser) error
}

type PipelineExecRuntime

type PipelineExecRuntime struct {
	PipelineId uint32
	// contains filtered or unexported fields
}

func NewPipelineExecRuntime

func NewPipelineExecRuntime(pipelineId uint32, cancelFunc context.CancelFunc) *PipelineExecRuntime

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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