Documentation ¶
Overview ¶
Package step manage the loading of step files and the creation of a list of steps that will be runned by the recipe
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creater ¶
type Creater interface {
Load(context.Context, *logrus.Entry, string, string, datasource.Datasourcers, provider.Provider, []string, []string, []string, bool, bool) (uint, bool, []common.Steper, error)
}
Creater is an interface to an object able to create Steper from configuration.
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory implements the StepCreated and use configuration files to create the steps.
func (*Factory) Load ¶
func (sf *Factory) Load(ctx context.Context, log *logrus.Entry, recipePath string, filename string, dss datasource.Datasourcers, prov provider.Provider, limitedTags []string, stepNames []string, stepTypes []string, force bool, dryRun bool) (priority uint, forceSequential bool, stepList []common.Steper, err error)
Load the step file and returns the priority and a list of steper for this file.
Directories ¶
Path | Synopsis |
---|---|
Package common provides the utility functions and type needed by all specialized step packages
|
Package common provides the utility functions and type needed by all specialized step packages |
Package migration define steps that manage the schema migration using sql-migrate engine
|
Package migration define steps that manage the schema migration using sql-migrate engine |
Package shell manage step that runs a shell command with template
|
Package shell manage step that runs a shell command with template |
Package sqlscript manage the steps that runs a sql command on all destinations
|
Package sqlscript manage the steps that runs a sql command on all destinations |
Package sync manages step that synchronize datasets between datasources
|
Package sync manages step that synchronize datasets between datasources |
Package tmpl manage step that generate files from templates
|
Package tmpl manage step that generate files from templates |
Click to show internal directories.
Click to hide internal directories.