Documentation ¶
Overview ¶
Package common provides the utility functions and type needed by all specialized step packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CfgFolder configuration folder CfgFolder string // Ctx root context of the application Ctx context.Context // DryRun would not really do the action but logs DryRun bool // Force the step execution without executing skip queries Force bool // Logger log engine of the application Logger = logrus.New() // Quiet no logs Quiet bool // Retry number of database ping Retry int // Sequential do not run step in parallel Sequential bool // Tags user provided tag list to limit the concerned datasource Tags []string // Timeout of each database ping try Timeout time.Duration // Verbose add debug logs Verbose bool )
View Source
var ErrMissingParameter = errors.New("MISSING PARAMETER")
ErrMissingParameter raise when a parameter is missing in command line.
View Source
var ErrNoConfiguration = errors.New("NO CONFIGURATION FOUND")
ErrNoConfiguration raise when no configuration is found.
View Source
var ErrStep = errors.New("STEP")
ErrStep raise when a step fininished in error.
View Source
var ErrWrongParameterValue = errors.New("WRONG PARAMETER VALUE")
ErrWrongParameterValue raise when a parameter as a wrong value in command line.
Functions ¶
func CreateSuperseed ¶
CreateSuperseed creates the postload configuration map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.