Documentation
¶
Index ¶
- func BuildVerify() error
- func Execute(steps []Step) error
- func Generate() error
- func GetDependencies(dependencies []string) func() error
- func ModTidy() error
- func ModVendor() error
- func TerraformInit() error
- func TerraformInitFast() error
- func TerraformRequire() error
- type Step
- func Backup(path string) Step
- func Build(pkg string, target string, goEnvs ...string) Step
- func Chdir(path string) Step
- func InitProjectPath(path string, finalModulePath *string) Step
- func ModInit(finalModulePath *string) Step
- func PackageZip(source string, target string) Step
- func PackageZipRename(source string, target string, newSourceName string) Step
- func PluginInstall(pkg, version, target string) Step
- func RenderTemplate(fs embed.FS, source string, target string, variables interface{}) Step
- func RenderTemplates(fs embed.FS, prefix string, variables interface{}) Step
- func TerraformApply(workspace string, args ...string) Step
- func TerraformDestroy(workspace string, args ...string) Step
- func TerraformNewWorkspace(workspace string) Step
- func TerraformPlan(workspace string, args ...string) Step
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVerify ¶
func BuildVerify() error
func GetDependencies ¶
func TerraformInit ¶
func TerraformInit() error
func TerraformInitFast ¶ added in v0.16.1
func TerraformInitFast() error
func TerraformRequire ¶
func TerraformRequire() error
Types ¶
type Step ¶
type Step func() error
func InitProjectPath ¶
func PackageZip ¶
func PackageZipRename ¶ added in v0.6.0
PackageZipRename packages source file into target zip, the resulting zip contains the source file but named with newSourceName
func PluginInstall ¶
func RenderTemplate ¶ added in v0.13.0
func TerraformApply ¶
func TerraformDestroy ¶
func TerraformNewWorkspace ¶ added in v0.12.0
func TerraformPlan ¶ added in v0.15.0
Source Files
¶
- backup.go
- build.go
- buildverify.go
- chdir.go
- generate.go
- getdependencies.go
- initprojectpath.go
- modinit.go
- modtidy.go
- modvendor.go
- packagezip.go
- packageziprename.go
- plugininstall.go
- rendertemplates.go
- runcommand.go
- steps.go
- terraformapply.go
- terraformdestroy.go
- terraforminit.go
- terraformnewworkspace.go
- terraformplan.go
- terraformrequire.go
Click to show internal directories.
Click to hide internal directories.