opentofu/registry/response/module_provider.go
James Bardin 248a5e4523 copy regsrc and response from registry repo
keep these in one place for now
2017-10-25 14:11:33 -04:00

15 lines
439 B
Go

package response
// ModuleProvider represents a single provider for modules.
type ModuleProvider struct {
Name string `json:"name"`
Downloads int `json:"downloads"`
ModuleCount int `json:"module_count"`
}
// ModuleProviderList is the response structure for a pageable list of ModuleProviders.
type ModuleProviderList struct {
Meta PaginationMeta `json:"meta"`
Providers []*ModuleProvider `json:"providers"`
}