github.com/opentofu/opentofu@v1.7.1/internal/registry/response/module_download.go (about)

     1  // Copyright (c) OpenTofu
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package response
     5  
     6  // ModuleLocationRegistryResp defines the OpenTofu registry response
     7  // returned when calling the endpoint /v1/modules/:namespace/:name/:system/:version/download
     8  type ModuleLocationRegistryResp struct {
     9  	// The URL to download the module from.
    10  	Location string `json:"location"`
    11  }