Documentation ¶
Overview ¶
Package tfinstall offers multiple strategies for finding and/or installing a binary version of Terraform. Some of the strategies can also authenticate the source of the binary as an official HashiCorp release.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExactPathOption ¶
type ExactPathOption struct {
// contains filtered or unexported fields
}
func ExactPath ¶
func ExactPath(execPath string) *ExactPathOption
type ExactVersionOption ¶
type ExactVersionOption struct { UserAgent string // contains filtered or unexported fields }
func ExactVersion ¶
func ExactVersion(tfVersion string, installDir string) *ExactVersionOption
type LatestVersionOption ¶
type LatestVersionOption struct { UserAgent string // contains filtered or unexported fields }
func LatestVersion ¶
func LatestVersion(installDir string, forceCheckpoint bool) *LatestVersionOption
type LookPathOption ¶
type LookPathOption struct { }
func LookPath ¶
func LookPath() *LookPathOption
Source Files ¶
Click to show internal directories.
Click to hide internal directories.