executioncmd

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IExecutionCmd

type IExecutionCmd interface {
	InternalExecute(CommandContext engine.Context, executionEntity delegate.DelegateExecution) (interface{}, error)
}

type NeedsActiveExecutionCmd

type NeedsActiveExecutionCmd struct {
	IExecutionCmd
	Ctx              context.Context
	ExecutionId      string
	Transactional    bool
	ProcessVariables map[string]any
}

func (NeedsActiveExecutionCmd) Context

func (NeedsActiveExecutionCmd) Execute

func (n NeedsActiveExecutionCmd) Execute(commandContext engine.Context) (interface{}, error)

func (NeedsActiveExecutionCmd) IsTransactional

func (n NeedsActiveExecutionCmd) IsTransactional() bool

type Options

type Options func(*NeedsActiveExecutionCmd)

func WithContext

func WithContext(ctx context.Context) Options

func WithProcessVariables added in v0.0.3

func WithProcessVariables(processVariables map[string]any) Options

func WithTransactional

func WithTransactional(transactional bool) Options

Jump to

Keyboard shortcuts

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