Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + type Config struct + ModulesDir string + Services *disco.Disco + type Loader struct + func NewLoader(config *Config) (*Loader, error) + func NewLoaderForTests(t *testing.T) (*Loader, func()) + func NewLoaderFromSnapshot(snap *Snapshot) *Loader + func (l *Loader) AllowLanguageExperiments(allowed bool) + func (l *Loader) ImportSources(sources map[string][]byte) + func (l *Loader) ImportSourcesFromSnapshot(snap *Snapshot) + func (l *Loader) IsConfigDir(path string) bool + func (l *Loader) LoadConfig(rootDir string) (*configs.Config, hcl.Diagnostics) + func (l *Loader) LoadConfigWithSnapshot(rootDir string) (*configs.Config, *Snapshot, hcl.Diagnostics) + func (l *Loader) ModulesDir() string + func (l *Loader) Parser() *configs.Parser + func (l *Loader) RefreshModules() error + func (l *Loader) Sources() map[string][]byte + type Snapshot struct + Modules map[string]*SnapshotModule + func NewEmptySnapshot() *Snapshot + type SnapshotModule struct + Dir string + Files map[string][]byte + SourceAddr string + Version *version.Version