steps

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StepContextInterface

type StepContextInterface interface {
	dataobject.DataObjectInterface
}

type StepInterface

type StepInterface interface {
	GetExecute() func(ctx StepContextInterface) error
	SetExecute(fn func(ctx StepContextInterface) error) StepInterface
	AddDependency(step StepInterface) StepInterface
	GetDependencies() []StepInterface
	Run(ctx StepContextInterface) (err error)
}

func Step

func Step(fn func(ctx StepContextInterface) error) StepInterface

type StepsInterface

type StepsInterface interface {
	AddStep(step StepInterface)
	Run(ctx StepContextInterface) error
}

func Steps

func Steps() StepsInterface

Jump to

Keyboard shortcuts

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