Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleByRepoName ¶
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.
Click to show internal directories.
Click to hide internal directories.