Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOptions ¶
CreateOptions holds the options for creating step manager.
type Creator ¶
type Creator func(CreateOptions) (StepManager, error)
Creator is a factory func to create step manager.
type StepManager ¶
type StepManager interface {
// GenerateTemplates generates templates for step.
// Returns main template and sub templates.
// Main template is a template that will be executed.
// A main template can have sub templates.
GenerateTemplates(
context.Context,
*model.WorkflowStepExecution,
) (mainTemplate *wfv1.Template, subTemplates []*wfv1.Template, err error)
}
Click to show internal directories.
Click to hide internal directories.