step

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: BSD-2-Clause Imports: 15 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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