Documentation ¶
Index ¶
- func DecodeReferenceOrigins(ctx context.Context, modStore *state.ModuleStore, ...) error
- func DecodeReferenceTargets(ctx context.Context, modStore *state.ModuleStore, ...) error
- func DecodeVarsReferences(ctx context.Context, modStore *state.ModuleStore, ...) error
- func GetModuleDataFromRegistry(ctx context.Context, regClient registry.Client, modStore *state.ModuleStore, ...) error
- func GetTerraformVersion(ctx context.Context, modStore *state.ModuleStore, modPath string) error
- func IsModuleNotFound(err error) bool
- func IsTerraformNotFound(err error) bool
- func LoadModuleMetadata(ctx context.Context, modStore *state.ModuleStore, modPath string) error
- func ObtainSchema(ctx context.Context, modStore *state.ModuleStore, ...) error
- func ParseModuleConfiguration(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, ...) error
- func ParseModuleManifest(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, ...) error
- func ParseProviderVersions(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, ...) error
- func ParseVariables(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, ...) error
- func PreloadEmbeddedSchema(ctx context.Context, logger *log.Logger, fs fs.ReadDirFS, ...) error
- func TerraformExecPath(ctx context.Context) (string, error)
- func TerraformExecutorForModule(ctx context.Context, modPath string) (exec.TerraformExecutor, error)
- type DeferFunc
- type ModuleNotFoundErr
- type ModuleOperation
- type NoTerraformExecPathErr
- type ReadOnlyFS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeReferenceOrigins ¶ added in v0.19.0
func DecodeReferenceOrigins(ctx context.Context, modStore *state.ModuleStore, schemaReader state.SchemaReader, modPath string) error
func DecodeReferenceTargets ¶ added in v0.18.2
func DecodeReferenceTargets(ctx context.Context, modStore *state.ModuleStore, schemaReader state.SchemaReader, modPath string) error
func DecodeVarsReferences ¶ added in v0.26.0
func DecodeVarsReferences(ctx context.Context, modStore *state.ModuleStore, schemaReader state.SchemaReader, modPath string) error
func GetModuleDataFromRegistry ¶ added in v0.29.0
func GetModuleDataFromRegistry(ctx context.Context, regClient registry.Client, modStore *state.ModuleStore, modRegStore *state.RegistryModuleStore, modPath string) error
func GetTerraformVersion ¶
func IsModuleNotFound ¶
func IsTerraformNotFound ¶ added in v0.14.0
func LoadModuleMetadata ¶ added in v0.16.0
func ObtainSchema ¶
func ObtainSchema(ctx context.Context, modStore *state.ModuleStore, schemaStore *state.ProviderSchemaStore, modPath string) error
func ParseModuleConfiguration ¶ added in v0.18.0
func ParseModuleConfiguration(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, modPath string) error
func ParseModuleManifest ¶
func ParseModuleManifest(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, modPath string) error
func ParseProviderVersions ¶ added in v0.29.0
func ParseProviderVersions(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, modPath string) error
func ParseVariables ¶ added in v0.18.0
func ParseVariables(ctx context.Context, fs ReadOnlyFS, modStore *state.ModuleStore, modPath string) error
func PreloadEmbeddedSchema ¶ added in v0.29.3
func TerraformExecPath ¶ added in v0.14.0
Types ¶
type ModuleNotFoundErr ¶
type ModuleNotFoundErr struct {
Dir string
}
func (*ModuleNotFoundErr) Error ¶
func (e *ModuleNotFoundErr) Error() string
type ModuleOperation ¶
type ModuleOperation struct { ModulePath string Type op.OpType Defer DeferFunc // contains filtered or unexported fields }
func NewModuleOperation ¶
func NewModuleOperation(modPath string, typ op.OpType) ModuleOperation
type NoTerraformExecPathErr ¶ added in v0.14.0
type NoTerraformExecPathErr struct{}
func (NoTerraformExecPathErr) Error ¶ added in v0.14.0
func (NoTerraformExecPathErr) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.