steps

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CopyFile = CopyFileFunc

Functions

func AppendToStepParams

func AppendToStepParams(stepParams map[string]string, incomingOutputVars map[string]map[string]string) map[string]string

Adds previous step output to stepParams which get added as environment variables during terraform plan

func CopyFileFunc

func CopyFileFunc(src, dst string) (err error)

CopyFile copies a file from src to dst. If src and dst files exist, and are the same, then return success. Otherise, attempt to create a hard link between the two files. If that fail, copy the file contents from src to dst.

func DetermineRunner

func DetermineRunner(s config.Step) config.Stepper

func ExecuteStep

func ExecuteStep(stepper config.Stepper, exec config.StepExecution) config.StepOutput

func ExecuteStepDestroy

func ExecuteStepDestroy(stepper config.Stepper, exec config.StepExecution) config.StepOutput

func ExecuteStepTests

func ExecuteStepTests(stepper config.Stepper, exec config.StepExecution) config.StepTestOutput

func InitExecution

func InitExecution(s config.Step, logger *logrus.Entry, fs afero.Fs,
	regionDeployType config.RegionDeployType, region string,
	defaultStepOutputVariables map[string]map[string]string) (
	config.StepExecution, error)

func KeysStringMap

func KeysStringMap(m map[string]map[string]string) string

func NewExecution

func NewExecution(s config.Step, logger *logrus.Entry, fs afero.Fs, regionDeployType config.RegionDeployType, region string, defaultStepOutputVariables map[string]map[string]string) config.StepExecution

Types

This section is empty.

Jump to

Keyboard shortcuts

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