Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { RegistryName string Namespace string Name string Version string OS string Arch string Protocols []string `json:"protocols"` Filename string `json:"filename"` DownloadURL string `json:"download_url"` SHA256SumsURL string `json:"shasums_url"` SHA256SumsSignatureURL string `json:"shasums_signature_url"` SHA256Sum string `json:"shasum"` SigningKeys SigningKeyList `json:"signing_keys"` }
Provider represents the details of the Terraform provider.
func (*Provider) PlatformURL ¶
PlatformURL returns the URL used to query the all platforms for a single version. https://developer.hashicorp.com/terraform/cloud-docs/api-docs/private-registry/provider-versions-platforms#get-all-platforms-for-a-single-version
func (*Provider) VersionURL ¶
VersionURL returns the URL used to query the all Versions for a single provider. https://developer.hashicorp.com/terraform/cloud-docs/api-docs/private-registry/provider-versions-platforms#get-all-versions-for-a-single-provider
type SigningKeyList ¶ added in v0.57.9
type SigningKeyList struct {
GPGPublicKeys []*provider.SigningKey `json:"gpg_public_keys"`
}
Click to show internal directories.
Click to hide internal directories.