remote

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURL added in v0.18.0

func GetURL(release *versionPkg.TerraformVersion, platform platformPkg.Platform) string

GetURL gives the remote url to a particular terraform version on the hashicorp site.

Types

type Provider added in v0.19.0

type Provider interface {
	ListTerraformReleases() ([]*version.TerraformVersion, error)
	ListTerraformBuilds(release *version.TerraformVersion) ([]*TerraformBuild, error)
	ListChecksums(release *version.TerraformVersion) (map[string]big.Int, error)
}

Provider is a provider of terraform release meta data.

func GetDefaultProvider added in v0.19.0

func GetDefaultProvider() Provider

GetDefaultProvider retrieves the default hashicorp web site provider.

type TerraformBuild added in v0.19.0

type TerraformBuild struct {
	Os           string
	Arch         string
	DownloadPath string
}

TerraformBuild is a specific build of a terraform release

Jump to

Keyboard shortcuts

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