toolregistry

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registry

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

Registry provides functions to get path to the needed tools.

func NewRegistry

func NewRegistry(client client) *Registry

func (*Registry) Terraform

func (r *Registry) Terraform(ctx context.Context, version string) (string, error)

Terraform installs the terraform command with the given version and return the path to the installed binary. If the version is empty, the default version will be used.

Jump to

Keyboard shortcuts

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