executor

package
v0.0.0-...-e8da0a6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommandFuncFromInputsMap

func ExecuteCommandFuncFromInputsMap(cmdFunc interface{}, inputs map[string]interface{}) (interface{}, error)

Types

type ServiceExecutor

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

func NewServiceExecutor

func NewServiceExecutor(service service.Service, updateChannel chan<- *service.UpdateService) *ServiceExecutor

func (*ServiceExecutor) Execute

func (se *ServiceExecutor) Execute() (err error)

func (*ServiceExecutor) SendServiceStatusUpdate

func (se *ServiceExecutor) SendServiceStatusUpdate(seq int, status service.StepStatus, result service.Result, st, et time.Time)

type StepExecutor

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

func NewStepExecutor

func NewStepExecutor(step *flow.CommandStep) (*StepExecutor, error)

func (*StepExecutor) Execute

func (se *StepExecutor) Execute() (interface{}, error)

Jump to

Keyboard shortcuts

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