Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2024 Changes in this version + func DirFromModule(ctx context.Context, loader *configload.Loader, ...) tfdiags.Diagnostics + func LoadConfigForTests(t *testing.T, rootDir string, testsDir string) (*configs.Config, *configload.Loader, func(), tfdiags.Diagnostics) + func MustLoadConfigForTests(t *testing.T, rootDir, testsDir string) (*configs.Config, *configload.Loader, func()) + type ModuleInstallHooks interface + Download func(moduleAddr, packageAddr string, version *version.Version) + Install func(moduleAddr string, version *version.Version, localPath string) + type ModuleInstallHooksImpl struct + func (h ModuleInstallHooksImpl) Download(moduleAddr, packageAddr string, version *version.Version) + func (h ModuleInstallHooksImpl) Install(moduleAddr string, version *version.Version, localPath string) + type ModuleInstaller struct + func NewModuleInstaller(modsDir string, loader *configload.Loader, reg *registry.Client) *ModuleInstaller + func (i *ModuleInstaller) InstallModules(ctx context.Context, rootDir, testsDir string, upgrade, installErrsOnly bool, ...) (*configs.Config, tfdiags.Diagnostics)