Versions in this module Expand all Collapse all v0 v0.0.1 Aug 28, 2024 Changes in this version + const TextFormattingMarkdown + const TextFormattingPlain + var SchemaCache = &schemaCache + func AddressedTypesAbs(providerAddrs []addrs.AbsProviderConfig) []addrs.Provider + func NewMockSchemaCache() *schemaCache + type ApplyResourceChangeRequest struct + Config cty.Value + PlannedPrivate []byte + PlannedState cty.Value + PriorState cty.Value + ProviderMeta cty.Value + TypeName string + type ApplyResourceChangeResponse struct + Diagnostics tfdiags.Diagnostics + LegacyTypeSystem bool + NewState cty.Value + Private []byte + type CallFunctionArgumentError struct + FunctionArgument int + Text string + func (err *CallFunctionArgumentError) Error() string + type CallFunctionRequest struct + Arguments []cty.Value + Name string + type CallFunctionResponse struct + Error error + Result cty.Value + type ConfigureProviderRequest struct + Config cty.Value + TerraformVersion string + type ConfigureProviderResponse struct + Diagnostics tfdiags.Diagnostics + type Factory func() (Interface, error) + func FactoryFixed(p Interface) Factory + type FunctionParameterSpec struct + AllowNullValue bool + AllowUnknownValues bool + Description string + DescriptionFormat TextFormatting + Name string + Type cty.Type + type FunctionSpec struct + DeprecationMessage string + Description string + DescriptionFormat TextFormatting + Parameters []FunctionParameterSpec + Return cty.Type + Summary string + VariadicParameter *FunctionParameterSpec + type GetFunctionsResponse struct + Diagnostics tfdiags.Diagnostics + Functions map[string]FunctionSpec + type GetProviderSchemaResponse struct + DataSources map[string]Schema + Diagnostics tfdiags.Diagnostics + Functions map[string]FunctionSpec + Provider Schema + ProviderMeta Schema + ResourceTypes map[string]Schema + ServerCapabilities ServerCapabilities + type ImportResourceStateRequest struct + ID string + TypeName string + type ImportResourceStateResponse struct + Diagnostics tfdiags.Diagnostics + ImportedResources []ImportedResource + type ImportedResource struct + Private []byte + State cty.Value + TypeName string + func (ir ImportedResource) AsInstanceObject() *states.ResourceInstanceObject + type Interface interface + ApplyResourceChange func(ApplyResourceChangeRequest) ApplyResourceChangeResponse + CallFunction func(CallFunctionRequest) CallFunctionResponse + Close func() error + ConfigureProvider func(ConfigureProviderRequest) ConfigureProviderResponse + GetFunctions func() GetFunctionsResponse + GetProviderSchema func() GetProviderSchemaResponse + ImportResourceState func(ImportResourceStateRequest) ImportResourceStateResponse + PlanResourceChange func(PlanResourceChangeRequest) PlanResourceChangeResponse + ReadDataSource func(ReadDataSourceRequest) ReadDataSourceResponse + ReadResource func(ReadResourceRequest) ReadResourceResponse + Stop func() error + UpgradeResourceState func(UpgradeResourceStateRequest) UpgradeResourceStateResponse + ValidateDataResourceConfig func(ValidateDataResourceConfigRequest) ValidateDataResourceConfigResponse + ValidateProviderConfig func(ValidateProviderConfigRequest) ValidateProviderConfigResponse + ValidateResourceConfig func(ValidateResourceConfigRequest) ValidateResourceConfigResponse + type PlanResourceChangeRequest struct + Config cty.Value + PriorPrivate []byte + PriorState cty.Value + ProposedNewState cty.Value + ProviderMeta cty.Value + TypeName string + type PlanResourceChangeResponse struct + Diagnostics tfdiags.Diagnostics + LegacyTypeSystem bool + PlannedPrivate []byte + PlannedState cty.Value + RequiresReplace []cty.Path + type ProviderSchema = GetProviderSchemaResponse + func (ss ProviderSchema) SchemaForResourceAddr(addr addrs.Resource) (schema *configschema.Block, version uint64) + func (ss ProviderSchema) SchemaForResourceType(mode addrs.ResourceMode, typeName string) (schema *configschema.Block, version uint64) + type ReadDataSourceRequest struct + Config cty.Value + ProviderMeta cty.Value + TypeName string + type ReadDataSourceResponse struct + Diagnostics tfdiags.Diagnostics + State cty.Value + type ReadResourceRequest struct + PriorState cty.Value + Private []byte + ProviderMeta cty.Value + TypeName string + type ReadResourceResponse struct + Diagnostics tfdiags.Diagnostics + NewState cty.Value + Private []byte + type Schema struct + Block *configschema.Block + Version int64 + type ServerCapabilities struct + GetProviderSchemaOptional bool + PlanDestroy bool + type TextFormatting string + type UpgradeResourceStateRequest struct + RawStateFlatmap map[string]string + RawStateJSON []byte + TypeName string + Version int64 + type UpgradeResourceStateResponse struct + Diagnostics tfdiags.Diagnostics + UpgradedState cty.Value + type ValidateDataResourceConfigRequest struct + Config cty.Value + TypeName string + type ValidateDataResourceConfigResponse struct + Diagnostics tfdiags.Diagnostics + type ValidateProviderConfigRequest struct + Config cty.Value + type ValidateProviderConfigResponse struct + Diagnostics tfdiags.Diagnostics + PreparedConfig cty.Value + type ValidateResourceConfigRequest struct + Config cty.Value + TypeName string + type ValidateResourceConfigResponse struct + Diagnostics tfdiags.Diagnostics