provider

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MPL-2.0 Imports: 7 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerraformProviderDownloader

type TerraformProviderDownloader struct {
	// contains filtered or unexported fields
}

func NewProviderDownloader

func NewProviderDownloader(files []*TerraformProviderFile) *TerraformProviderDownloader

func (*TerraformProviderDownloader) Download

func (x *TerraformProviderDownloader) Download(targetDirectory string) (string, error)

type TerraformProviderFile

type TerraformProviderFile struct {
	ProviderName    string `mapstructure:"provider-name" json:"provider_name"`
	ProviderVersion string `mapstructure:"provider-version" json:"provider_version"`
	DownloadUrl     string `mapstructure:"download-url" json:"download_url"`
	Sha256Sum       string `mapstructure:"sha256-sum" json:"sha256_sum"`
	Arch            string `mapstructure:"arch" json:"arch"`
	OS              string `mapstructure:"os" json:"os"`
}

Jump to

Keyboard shortcuts

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