Documentation ¶
Index ¶
- type Client
- func (c Client) GetLatestProviderVersion(id string) (*ProviderVersionResponse, error)
- func (c Client) GetMatchingModuleVersion(ctx context.Context, addr tfaddr.Module, con version.Constraints) (*version.Version, error)
- func (c Client) GetModuleData(ctx context.Context, addr tfaddr.Module, cons version.Constraints) (*ModuleResponse, error)
- func (c Client) GetModuleVersions(ctx context.Context, addr tfaddr.Module) (version.Collection, error)
- func (c Client) ListProviders(tier string) ([]Provider, error)
- type ClientError
- type Included
- type IncludedAttributes
- type Input
- type ModuleResponse
- type ModuleRoot
- type ModuleVersion
- type ModuleVersionsEntry
- type ModuleVersionsResponse
- type Output
- type Provider
- type ProviderAttributes
- type ProviderVersionAttributes
- type ProviderVersionData
- type ProviderVersionResponse
- type Submodule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL string Timeout time.Duration ProviderPageSize int // contains filtered or unexported fields }
func (Client) GetLatestProviderVersion ¶ added in v0.29.3
func (c Client) GetLatestProviderVersion(id string) (*ProviderVersionResponse, error)
func (Client) GetMatchingModuleVersion ¶
func (Client) GetModuleData ¶
func (Client) GetModuleVersions ¶
type ClientError ¶ added in v0.31.1
func (ClientError) Error ¶ added in v0.31.1
func (rce ClientError) Error() string
type Included ¶ added in v0.29.3
type Included struct { Type string `json:"type"` Attributes IncludedAttributes `json:"attributes"` }
type IncludedAttributes ¶ added in v0.29.3
type ModuleResponse ¶
type ModuleResponse struct { Version string `json:"version"` PublishedAt time.Time `json:"published_at"` Root ModuleRoot `json:"root"` Submodules []Submodule `json:"submodules"` }
type ModuleRoot ¶
type ModuleVersion ¶
type ModuleVersion struct {
Version string `json:"version"`
}
type ModuleVersionsEntry ¶
type ModuleVersionsEntry struct {
Versions []ModuleVersion `json:"versions"`
}
type ModuleVersionsResponse ¶
type ModuleVersionsResponse struct {
Modules []ModuleVersionsEntry `json:"modules"`
}
type Provider ¶ added in v0.29.3
type Provider struct { ID string `json:"id"` Attributes ProviderAttributes `json:"attributes"` }
type ProviderAttributes ¶ added in v0.29.3
type ProviderVersionAttributes ¶ added in v0.29.3
type ProviderVersionAttributes struct {
Version string `json:"version"`
}
type ProviderVersionData ¶ added in v0.29.3
type ProviderVersionData struct {
Attributes ProviderVersionAttributes `json:"attributes"`
}
type ProviderVersionResponse ¶ added in v0.29.3
type ProviderVersionResponse struct { Data ProviderVersionData `json:"data"` Included []Included `json:"included"` }
Click to show internal directories.
Click to hide internal directories.