aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/hashicorp/terraform/registry/response/module_provider.go
blob: e48499dceed5a150f7749230010de7e2019c3939 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"`
}