Documentation ¶
Index ¶
- type Provider
- func (provider *Provider) Filename() string
- func (provider *Provider) Match(target *Provider) bool
- func (provider *Provider) Path() string
- func (provider *Provider) Platform() string
- func (provider *Provider) PlatformURL() *url.URL
- func (provider *Provider) String() string
- func (provider *Provider) VersionURL() *url.URL
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 DownloadURL *url.URL }
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
Click to show internal directories.
Click to hide internal directories.