func NewOperationsSet()

in dstester/dstester.go [480:509]


func NewOperationsSet() OperationsSets {
	ops := OperationsSets{}

	ops["preTest"] = Operations{
		Key:   "preTest",
		Label: "Operations to be run before any tests",
	}
	ops["preApply"] = Operations{
		Key:   "preApply",
		Label: "Operations to be run after terraform init and before terraform apply",
	}
	ops["postApply"] = Operations{
		Key:   "postApply",
		Label: "Operations to be run after terraform apply",
	}
	ops["preDestroy"] = Operations{
		Key:   "preDestroy",
		Label: "Operations to be run after terraform apply and before terraform destroy",
	}
	ops["postDestroy"] = Operations{
		Key:   "postDestroy",
		Label: "Operations to be run after terraform destroy",
	}
	ops["postTest"] = Operations{
		Key:   "postTest",
		Label: "Operations to be after any tests",
	}

	return ops
}