executor

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StandaloneExecutor

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

func NewStandaloneExecutor

func NewStandaloneExecutor(deps ops2.ServiceDependencies2, registry *ops.ActivityRegistry, logger *zap.Logger) (*StandaloneExecutor, error)

NewStandaloneExecutor creates a new standalone recipe executor

func (*StandaloneExecutor) Execute

func (e *StandaloneExecutor) Execute(
	ctx context.Context,
	r recipe.Recipe,
	inputs map[string]interface{},
	jobCtx contextual.JobContext,
	gitRef string,
) (map[string]interface{}, error)

Execute runs a recipe with the given inputs

func (*StandaloneExecutor) ExecuteWithRegistry

func (e *StandaloneExecutor) ExecuteWithRegistry(
	ctx context.Context,
	r recipe.Recipe,
	inputs map[string]interface{},
	jobCtx contextual.JobContext,
	gitRef string,
	registry workflow.RecipeProjectProvider,
) (map[string]interface{}, error)

ExecuteWithRegistry runs a recipe with a custom registry for resolving recipe references.

func (*StandaloneExecutor) GetActivityRegistry

func (e *StandaloneExecutor) GetActivityRegistry() *ops.ActivityRegistry

GetActivityRegistry returns the activity registry

Jump to

Keyboard shortcuts

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