steps

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentStep added in v0.1.1

type EnvironmentStep struct {
	EnvironmentList []map[string]string
	Step
}

func (*EnvironmentStep) Run added in v0.1.1

func (environmentStep *EnvironmentStep) Run() (err error)

type ExecuteStep

type ExecuteStep struct {
	CommandList []string
	Step
}

func (*ExecuteStep) Run

func (executeStep *ExecuteStep) Run() (err error)

type IStepWorkflow

type IStepWorkflow interface {
	Run() error
}

func NewStep

func NewStep(stepType string, stepArguments []interface{}, logger *zap.Logger) (
	step IStepWorkflow)

type PrintStep

type PrintStep struct {
	MessageList []string
	Step
}

func (*PrintStep) Run

func (printStep *PrintStep) Run() (err error)

type Step

type Step struct {
	StepArgumentList []interface{}
	Logger           *zap.Logger
}

func (*Step) NewEnvironmentStep added in v0.1.1

func (step *Step) NewEnvironmentStep() (environmentStep *EnvironmentStep)

func (*Step) NewExecuteStep

func (step *Step) NewExecuteStep() (executeStep *ExecuteStep)

func (*Step) NewPrintStep

func (step *Step) NewPrintStep() (printStep *PrintStep)

Jump to

Keyboard shortcuts

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