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
Click to show internal directories.
Click to hide internal directories.