brokerpakurl

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package brokerpakurl handles the logic of working out which URL to fetch Terraform resources from

Index

Constants

View Source
const (
	HashicorpURLTemplate = "https://releases.hashicorp.com/${name}/${version}/${name}_${version}_${os}_${arch}.zip"
	TofuURLTemplate      = "https://github.com/opentofu/opentofu/releases/download/v${version}/tofu_${version}_${os}_${arch}.zip"
)

Variables

This section is empty.

Functions

func HashicorpURL

func HashicorpURL(name, version, urlTemplate string, plat platform.Platform) string

func TofuURL

func TofuURL(name, version, urlTemplate string, plat platform.Platform) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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