github.com/magodo/terraform@v0.11.12-beta1/registry/response/module_provider.go (about)

     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  }