Documentation
¶
Index ¶
- type Client
- func (c *Client) DiscoverModules(hostname string) (string, error)
- func (c *Client) DiscoverProviders(namespace, name string) (string, error)
- func (c *Client) ListModuleVersions(baseURL, namespace, name, provider string) ([]string, error)
- func (c *Client) ListProviderVersions(url string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DiscoverModules ¶
DiscoverModules obtains the module index base URL for the given hostname. ref.: https://www.terraform.io/docs/registry/api.html#service-discovery
func (*Client) DiscoverProviders ¶
func (*Client) ListModuleVersions ¶
ListModuleVersions lists the available module versions for the a specific module. ref.: https://www.terraform.io/docs/registry/api.html#list-available-versions-for-a-specific-module
Click to show internal directories.
Click to hide internal directories.