Documentation
¶
Index ¶
- type Client
- 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)
- type Input
- type ModuleResponse
- type ModuleRoot
- type ModuleVersion
- type ModuleVersionsEntry
- type ModuleVersionsResponse
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleResponse ¶
type ModuleResponse struct {
Version string `json:"version"`
Root ModuleRoot `json:"root"`
}
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"`
}
Click to show internal directories.
Click to hide internal directories.