models

package
v0.58.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	*getproviders.Package

	RegistryName string
	Namespace    string
	Name         string
	Version      string
	OS           string
	Arch         string
}

Provider represents the details of the Terraform provider.

func NewProviderFromDownloadURL added in v0.58.3

func NewProviderFromDownloadURL(downloadURL string) *Provider

func (*Provider) Address added in v0.58.3

func (provider *Provider) Address() string

func (*Provider) Match

func (provider *Provider) Match(target *Provider) bool

Match returns true if all defined provider properties are matched.

func (*Provider) Platform

func (provider *Provider) Platform() string

func (*Provider) PlatformURL

func (provider *Provider) PlatformURL() *url.URL

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) String

func (provider *Provider) String() string

func (*Provider) VersionURL

func (provider *Provider) VersionURL() *url.URL

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL