Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenTofuInstallCommand ¶ added in v0.0.27
func GetOpenTofuInstallCommand(params OpenTofuInstallParams) []string
GetOpenTofuInstallCommand returns a slice of strings representing the command to install OpenTofu of a specific version.
Parameters: - params: OpenTofuInstallParams struct containing installation parameters
Returns: - A slice of strings representing the installation command
func GetTerraformInstallCommand ¶ added in v0.0.27
func GetTerraformInstallCommand(params TerraformInstallParams) []string
GetTerraformInstallCommand returns a slice of strings representing the command to install Terraform of a specific version.
Parameters: - params: TerraformInstallParams struct containing installation parameters
Returns: - A slice of strings representing the installation command
func GetTerragruntInstallCommand ¶ added in v0.0.27
func GetTerragruntInstallCommand(params TerragruntInstallParams) []string
GetTerragruntInstallCommand returns a slice of strings representing the command to install Terragrunt of a specific version.
Parameters: - params: TerragruntInstallParams struct containing installation parameters
Returns: - A slice of strings representing the installation command
Types ¶
type OpenTofuInstallParams ¶ added in v0.0.28
type OpenTofuInstallParams struct {
// Version of OpenTofu to install (e.g., "1.6.0")
Version string
// EntryPoint for the command. If empty, defaults to "sh -c"
EntryPoint string
// InstallDir is the directory to install OpenTofu. If empty, defaults to "/usr/local/bin"
InstallDir string
}
OpenTofuInstallParams represents the parameters for installing OpenTofu
type TerraformInstallParams ¶ added in v0.0.28
type TerraformInstallParams struct {
// Version of Terraform to install (e.g., "1.0.0")
Version string
// EntryPoint for the command. If empty, defaults to "sh -c"
EntryPoint string
// InstallDir is the directory to install Terraform. If empty, defaults to "/usr/local/bin"
InstallDir string
}
TerraformInstallParams represents the parameters for installing Terraform
type TerragruntInstallParams ¶ added in v0.0.28
type TerragruntInstallParams struct {
// Version of Terragrunt to install (e.g., "0.38.0")
Version string
// EntryPoint for the command. If empty, defaults to "sh -c"
EntryPoint string
// InstallDir is the directory to install Terragrunt. If empty, defaults to "/usr/local/bin"
InstallDir string
}
TerragruntInstallParams represents the parameters for installing Terragrunt