diff options
Diffstat (limited to 'vendor/github.com/hashicorp/terraform/registry/response/module_provider.go')
-rw-r--r-- | vendor/github.com/hashicorp/terraform/registry/response/module_provider.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/hashicorp/terraform/registry/response/module_provider.go b/vendor/github.com/hashicorp/terraform/registry/response/module_provider.go new file mode 100644 index 0000000..e48499d --- /dev/null +++ b/vendor/github.com/hashicorp/terraform/registry/response/module_provider.go | |||
@@ -0,0 +1,14 @@ | |||
1 | package response | ||
2 | |||
3 | // ModuleProvider represents a single provider for modules. | ||
4 | type ModuleProvider struct { | ||
5 | Name string `json:"name"` | ||
6 | Downloads int `json:"downloads"` | ||
7 | ModuleCount int `json:"module_count"` | ||
8 | } | ||
9 | |||
10 | // ModuleProviderList is the response structure for a pageable list of ModuleProviders. | ||
11 | type ModuleProviderList struct { | ||
12 | Meta PaginationMeta `json:"meta"` | ||
13 | Providers []*ModuleProvider `json:"providers"` | ||
14 | } | ||