epit

package
v0.0.0-...-3a7e863 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(logger *zap.Logger, path, pattern string) error

Exec provides executing of the stages

Types

type Config

type Config map[string]interface{}

Config provides definition of configuration

type Stage

type Stage struct {
	// Command for execution
	Command string
	// Name of the step
	Name string
	// Show duration of execution
	Duration bool
	// list of environment variables in the format FOO=BAR
	Envs []interface{}
}

Stage defined model for stage on config file

Jump to

Keyboard shortcuts

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