registry

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModuleByRepoName

func GetModuleByRepoName(repoName string) (string, error)

GetModuleByRepoName queries the HashiCorp Registry to find a module name based on a GitHub repository name.

Types

type SearchResult

type SearchResult struct {
	Modules []struct {
		ID string `json:"id"`
	} `json:"modules"`
}

SearchResult defines the structure for the JSON response from the registry's module search API.

Jump to

Keyboard shortcuts

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