step

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildVerify

func BuildVerify() error

func Execute

func Execute(steps []Step) error

func Generate

func Generate() error

func GetDependencies

func GetDependencies(dependencies []string) func() error

func ModTidy

func ModTidy() error

func ModVendor

func ModVendor() error

func TerraformInit

func TerraformInit() error

func TerraformRequire

func TerraformRequire() error

Types

type Step

type Step func() error

func Build

func Build(pkg string, target string, goEnvs ...string) Step

func Chdir

func Chdir(path string) Step

func InitProjectPath

func InitProjectPath(path string, finalModulePath *string) Step

func ModInit

func ModInit(finalModulePath *string) Step

func PackageZip

func PackageZip(source string, target string) Step

func PackageZipRename added in v0.6.0

func PackageZipRename(source string, target string, newSourceName string) Step

PackageZipRename packages source file into target zip, the resulting zip contains the source file but named with newSourceName

func PluginInstall

func PluginInstall(pkg, version, target string) Step

func RenderTemplates

func RenderTemplates(fs embed.FS, prefix string, variables interface{}) Step

func TerraformApply

func TerraformApply(args ...string) Step

func TerraformDestroy

func TerraformDestroy(args ...string) Step

Jump to

Keyboard shortcuts

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