mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-09 00:42:48 -04:00
17 lines
511 B
Go
17 lines
511 B
Go
// Copyright IBM Corp. 2014, 2026
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
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"`
|
|
}
|