Documentation
¶
Overview ¶
Package toproto6 contains functions to convert from framework types to protocol version 6 (tfprotov6) types.
Index ¶
- func ActionDeferred(fw *action.Deferred) *tfprotov6.Deferred
- func ActionMetadata(ctx context.Context, fw fwserver.ActionMetadata) tfprotov6.ActionMetadata
- func ActionSchema(ctx context.Context, s actionschema.Schema) (*tfprotov6.ActionSchema, error)
- func ApplyResourceChangeResponse(ctx context.Context, fw *fwserver.ApplyResourceChangeResponse) *tfprotov6.ApplyResourceChangeResponse
- func Block(ctx context.Context, name string, path *tftypes.AttributePath, ...) (*tfprotov6.SchemaNestedBlock, error)
- func CallFunctionResponse(ctx context.Context, fw *fwserver.CallFunctionResponse) *tfprotov6.CallFunctionResponse
- func CloseEphemeralResourceResponse(ctx context.Context, fw *fwserver.CloseEphemeralResourceResponse) *tfprotov6.CloseEphemeralResourceResponse
- func CompletedInvokeActionEventType(ctx context.Context, event *fwserver.InvokeActionResponse) tfprotov6.InvokeActionEvent
- func Config(ctx context.Context, fw *tfsdk.Config) (*tfprotov6.DynamicValue, diag.Diagnostics)
- func ConfigureProviderResponse(ctx context.Context, fw *provider.ConfigureResponse) *tfprotov6.ConfigureProviderResponse
- func DataSourceDeferred(fw *datasource.Deferred) *tfprotov6.Deferred
- func DataSourceMetadata(ctx context.Context, fw fwserver.DataSourceMetadata) tfprotov6.DataSourceMetadata
- func DiagnosticSeverity(s diag.Severity) tfprotov6.DiagnosticSeverity
- func Diagnostics(ctx context.Context, diagnostics diag.Diagnostics) []*tfprotov6.Diagnostic
- func DynamicValue(ctx context.Context, data *fwschemadata.Data) (*tfprotov6.DynamicValue, diag.Diagnostics)
- func EphemeralResourceDeferred(fw *ephemeral.Deferred) *tfprotov6.Deferred
- func EphemeralResourceMetadata(ctx context.Context, fw fwserver.EphemeralResourceMetadata) tfprotov6.EphemeralResourceMetadata
- func EphemeralResultData(ctx context.Context, fw *tfsdk.EphemeralResultData) (*tfprotov6.DynamicValue, diag.Diagnostics)
- func Function(ctx context.Context, fw function.Definition) *tfprotov6.Function
- func FunctionError(ctx context.Context, funcErr *function.FuncError) *tfprotov6.FunctionError
- func FunctionMetadata(ctx context.Context, fw fwserver.FunctionMetadata) tfprotov6.FunctionMetadata
- func FunctionParameter(ctx context.Context, fw function.Parameter) *tfprotov6.FunctionParameter
- func FunctionResultData(ctx context.Context, data function.ResultData) (*tfprotov6.DynamicValue, *function.FuncError)
- func FunctionReturn(ctx context.Context, fw function.Return) *tfprotov6.FunctionReturn
- func GetFunctionsResponse(ctx context.Context, fw *fwserver.GetFunctionsResponse) *tfprotov6.GetFunctionsResponse
- func GetMetadataResponse(ctx context.Context, fw *fwserver.GetMetadataResponse) *tfprotov6.GetMetadataResponse
- func GetProviderSchemaResponse(ctx context.Context, fw *fwserver.GetProviderSchemaResponse) *tfprotov6.GetProviderSchemaResponse
- func GetResourceIdentitySchemasResponse(ctx context.Context, fw *fwserver.GetResourceIdentitySchemasResponse) *tfprotov6.GetResourceIdentitySchemasResponse
- func IdentitySchema(ctx context.Context, s fwschema.Schema) (*tfprotov6.ResourceIdentitySchema, error)
- func IdentitySchemaAttribute(ctx context.Context, name string, path *tftypes.AttributePath, ...) (*tfprotov6.ResourceIdentitySchemaAttribute, error)
- func ImportResourceStateResponse(ctx context.Context, fw *fwserver.ImportResourceStateResponse) *tfprotov6.ImportResourceStateResponse
- func ImportedResource(ctx context.Context, fw *fwserver.ImportedResource) (*tfprotov6.ImportedResource, diag.Diagnostics)
- func ListResourceMetadata(ctx context.Context, fw fwserver.ListResourceMetadata) tfprotov6.ListResourceMetadata
- func ListResourceResult(ctx context.Context, result *fwserver.ListResult) tfprotov6.ListResourceResult
- func ListResourceResultWithResource(ctx context.Context, result *fwserver.ListResult) tfprotov6.ListResourceResult
- func MoveResourceStateResponse(ctx context.Context, fw *fwserver.MoveResourceStateResponse) *tfprotov6.MoveResourceStateResponse
- func OpenEphemeralResourceResponse(ctx context.Context, fw *fwserver.OpenEphemeralResourceResponse) *tfprotov6.OpenEphemeralResourceResponse
- func PlanActionResponse(ctx context.Context, fw *fwserver.PlanActionResponse) *tfprotov6.PlanActionResponse
- func PlanResourceChangeResponse(ctx context.Context, fw *fwserver.PlanResourceChangeResponse) *tfprotov6.PlanResourceChangeResponse
- func ProgressInvokeActionEventType(ctx context.Context, event fwserver.InvokeProgressEvent) tfprotov6.InvokeActionEvent
- func ReadDataSourceResponse(ctx context.Context, fw *fwserver.ReadDataSourceResponse) *tfprotov6.ReadDataSourceResponse
- func ReadResourceResponse(ctx context.Context, fw *fwserver.ReadResourceResponse) *tfprotov6.ReadResourceResponse
- func RenewEphemeralResourceResponse(ctx context.Context, fw *fwserver.RenewEphemeralResourceResponse) *tfprotov6.RenewEphemeralResourceResponse
- func Resource(ctx context.Context, fw *tfsdk.Resource) (*tfprotov6.DynamicValue, diag.Diagnostics)
- func ResourceDeferred(fw *resource.Deferred) *tfprotov6.Deferred
- func ResourceIdentity(ctx context.Context, fw *tfsdk.ResourceIdentity) (*tfprotov6.ResourceIdentityData, diag.Diagnostics)
- func ResourceMetadata(ctx context.Context, fw fwserver.ResourceMetadata) tfprotov6.ResourceMetadata
- func Schema(ctx context.Context, s fwschema.Schema) (*tfprotov6.Schema, error)
- func SchemaAttribute(ctx context.Context, name string, path *tftypes.AttributePath, ...) (*tfprotov6.SchemaAttribute, error)
- func ServerCapabilities(ctx context.Context, fw *fwserver.ServerCapabilities) *tfprotov6.ServerCapabilities
- func State(ctx context.Context, fw *tfsdk.State) (*tfprotov6.DynamicValue, diag.Diagnostics)
- func UpgradeResourceIdentityResponse(ctx context.Context, fw *fwserver.UpgradeResourceIdentityResponse) *tfprotov6.UpgradeResourceIdentityResponse
- func UpgradeResourceStateResponse(ctx context.Context, fw *fwserver.UpgradeResourceStateResponse) *tfprotov6.UpgradeResourceStateResponse
- func ValidateActionConfigResponse(ctx context.Context, fw *fwserver.ValidateActionConfigResponse) *tfprotov6.ValidateActionConfigResponse
- func ValidateDataSourceConfigResponse(ctx context.Context, fw *fwserver.ValidateDataSourceConfigResponse) *tfprotov6.ValidateDataResourceConfigResponse
- func ValidateEphemeralResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateEphemeralResourceConfigResponse) *tfprotov6.ValidateEphemeralResourceConfigResponse
- func ValidateListResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateListResourceConfigResponse) *tfprotov6.ValidateListResourceConfigResponse
- func ValidateProviderConfigResponse(ctx context.Context, fw *fwserver.ValidateProviderConfigResponse) *tfprotov6.ValidateProviderConfigResponse
- func ValidateResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateResourceConfigResponse) *tfprotov6.ValidateResourceConfigResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionMetadata ¶ added in v1.16.0
func ActionMetadata(ctx context.Context, fw fwserver.ActionMetadata) tfprotov6.ActionMetadata
ActionMetadata returns the tfprotov6.ActionMetadata for a fwserver.ActionMetadata.
func ActionSchema ¶ added in v1.16.0
func ActionSchema(ctx context.Context, s actionschema.Schema) (*tfprotov6.ActionSchema, error)
ActionSchema returns the *tfprotov6.ActionSchema equivalent of a ActionSchema.
func ApplyResourceChangeResponse ¶ added in v0.9.0
func ApplyResourceChangeResponse(ctx context.Context, fw *fwserver.ApplyResourceChangeResponse) *tfprotov6.ApplyResourceChangeResponse
ApplyResourceChangeResponse returns the *tfprotov6.ApplyResourceChangeResponse equivalent of a *fwserver.ApplyResourceChangeResponse.
func Block ¶
func Block(ctx context.Context, name string, path *tftypes.AttributePath, b fwschema.Block) (*tfprotov6.SchemaNestedBlock, error)
Block returns the *tfprotov6.SchemaNestedBlock equivalent of a Block. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.
func CallFunctionResponse ¶ added in v1.5.0
func CallFunctionResponse(ctx context.Context, fw *fwserver.CallFunctionResponse) *tfprotov6.CallFunctionResponse
CallFunctionResponse returns the *tfprotov6.CallFunctionResponse equivalent of a *fwserver.CallFunctionResponse.
func CloseEphemeralResourceResponse ¶ added in v1.13.0
func CloseEphemeralResourceResponse(ctx context.Context, fw *fwserver.CloseEphemeralResourceResponse) *tfprotov6.CloseEphemeralResourceResponse
CloseEphemeralResourceResponse returns the *tfprotov6.CloseEphemeralResourceResponse equivalent of a *fwserver.CloseEphemeralResourceResponse.
func CompletedInvokeActionEventType ¶ added in v1.16.0
func CompletedInvokeActionEventType(ctx context.Context, event *fwserver.InvokeActionResponse) tfprotov6.InvokeActionEvent
func Config ¶ added in v0.9.0
func Config(ctx context.Context, fw *tfsdk.Config) (*tfprotov6.DynamicValue, diag.Diagnostics)
Config returns the *tfprotov6.DynamicValue for a *tfsdk.Config.
func ConfigureProviderResponse ¶ added in v0.9.0
func ConfigureProviderResponse(ctx context.Context, fw *provider.ConfigureResponse) *tfprotov6.ConfigureProviderResponse
ConfigureProviderResponse returns the *tfprotov6.ConfigureProviderResponse equivalent of a *fwserver.ConfigureProviderResponse.
func DataSourceDeferred ¶ added in v1.9.0
func DataSourceDeferred(fw *datasource.Deferred) *tfprotov6.Deferred
func DataSourceMetadata ¶ added in v1.4.0
func DataSourceMetadata(ctx context.Context, fw fwserver.DataSourceMetadata) tfprotov6.DataSourceMetadata
DataSourceMetadata returns the tfprotov6.DataSourceMetadata for a fwserver.DataSourceMetadata.
func DiagnosticSeverity ¶ added in v0.9.0
func DiagnosticSeverity(s diag.Severity) tfprotov6.DiagnosticSeverity
DiagnosticSeverity converts diag.Severity into tfprotov6.DiagnosticSeverity.
func Diagnostics ¶
func Diagnostics(ctx context.Context, diagnostics diag.Diagnostics) []*tfprotov6.Diagnostic
Diagnostics converts the diagnostics into the tfprotov6 collection type.
func DynamicValue ¶ added in v1.1.0
func DynamicValue(ctx context.Context, data *fwschemadata.Data) (*tfprotov6.DynamicValue, diag.Diagnostics)
DynamicValue returns the *tfprotov6.DynamicValue for a given fwschemadata.Data.
If necessary, the underlying data is modified to convert list and set block values from a null collection to an empty collection. This is to prevent developers from needing to understand Terraform's differences between block and attribute values where blocks are technically never null, but from a developer perspective this distinction introduces unnecessary complexity.
func EphemeralResourceDeferred ¶ added in v1.13.0
func EphemeralResourceMetadata ¶ added in v1.13.0
func EphemeralResourceMetadata(ctx context.Context, fw fwserver.EphemeralResourceMetadata) tfprotov6.EphemeralResourceMetadata
EphemeralResourceMetadata returns the tfprotov6.EphemeralResourceMetadata for a fwserver.EphemeralResourceMetadata.
func EphemeralResultData ¶ added in v1.13.0
func EphemeralResultData(ctx context.Context, fw *tfsdk.EphemeralResultData) (*tfprotov6.DynamicValue, diag.Diagnostics)
EphemeralResultData returns the *tfprotov6.DynamicValue for a *tfsdk.EphemeralResultData.
func FunctionError ¶ added in v1.6.0
FunctionError converts the function error into the tfprotov6 function error.
func FunctionMetadata ¶ added in v1.5.0
func FunctionMetadata(ctx context.Context, fw fwserver.FunctionMetadata) tfprotov6.FunctionMetadata
FunctionMetadata returns the tfprotov6.FunctionMetadata for a fwserver.FunctionMetadata.
func FunctionParameter ¶ added in v1.5.0
FunctionParameter returns the *tfprotov6.FunctionParameter for a function.Parameter.
func FunctionResultData ¶ added in v1.5.0
func FunctionResultData(ctx context.Context, data function.ResultData) (*tfprotov6.DynamicValue, *function.FuncError)
FunctionResultData returns the *tfprotov6.DynamicValue for a given function.ResultData.
func FunctionReturn ¶ added in v1.5.0
FunctionReturn returns the *tfprotov6.FunctionReturn for a function.Return.
func GetFunctionsResponse ¶ added in v1.5.0
func GetFunctionsResponse(ctx context.Context, fw *fwserver.GetFunctionsResponse) *tfprotov6.GetFunctionsResponse
GetFunctionsResponse returns the *tfprotov6.GetFunctionsResponse equivalent of a *fwserver.GetFunctionsResponse.
func GetMetadataResponse ¶ added in v1.4.0
func GetMetadataResponse(ctx context.Context, fw *fwserver.GetMetadataResponse) *tfprotov6.GetMetadataResponse
GetMetadataResponse returns the *tfprotov6.GetMetadataResponse equivalent of a *fwserver.GetMetadataResponse.
func GetProviderSchemaResponse ¶
func GetProviderSchemaResponse(ctx context.Context, fw *fwserver.GetProviderSchemaResponse) *tfprotov6.GetProviderSchemaResponse
GetProviderSchemaResponse returns the *tfprotov6.GetProviderSchemaResponse equivalent of a *fwserver.GetProviderSchemaResponse.
func GetResourceIdentitySchemasResponse ¶ added in v1.15.0
func GetResourceIdentitySchemasResponse(ctx context.Context, fw *fwserver.GetResourceIdentitySchemasResponse) *tfprotov6.GetResourceIdentitySchemasResponse
GetResourceIdentitySchemasResponse returns the *tfprotov6.GetResourceIdentitySchemasResponse equivalent of a *fwserver.GetResourceIdentitySchemasResponse.
func IdentitySchema ¶ added in v1.15.0
func IdentitySchema(ctx context.Context, s fwschema.Schema) (*tfprotov6.ResourceIdentitySchema, error)
IdentitySchema returns the *tfprotov6.ResourceIdentitySchema equivalent of a Schema.
func IdentitySchemaAttribute ¶ added in v1.15.0
func IdentitySchemaAttribute(ctx context.Context, name string, path *tftypes.AttributePath, a fwschema.Attribute) (*tfprotov6.ResourceIdentitySchemaAttribute, error)
IdentitySchemaAttribute returns the *tfprotov6.ResourceIdentitySchemaAttribute equivalent of an Attribute. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.
func ImportResourceStateResponse ¶ added in v0.9.0
func ImportResourceStateResponse(ctx context.Context, fw *fwserver.ImportResourceStateResponse) *tfprotov6.ImportResourceStateResponse
ImportResourceStateResponse returns the *tfprotov6.ImportResourceStateResponse equivalent of a *fwserver.ImportResourceStateResponse.
func ImportedResource ¶ added in v0.9.0
func ImportedResource(ctx context.Context, fw *fwserver.ImportedResource) (*tfprotov6.ImportedResource, diag.Diagnostics)
ImportedResource returns the *tfprotov6.ImportedResource equivalent of a *fwserver.ImportedResource.
func ListResourceMetadata ¶ added in v1.16.0
func ListResourceMetadata(ctx context.Context, fw fwserver.ListResourceMetadata) tfprotov6.ListResourceMetadata
ListResourceMetadata returns the tfprotov6.ListResourceMetadata for a fwserver.ListResourceMetadata.
func ListResourceResult ¶ added in v1.16.0
func ListResourceResult(ctx context.Context, result *fwserver.ListResult) tfprotov6.ListResourceResult
func ListResourceResultWithResource ¶ added in v1.16.0
func ListResourceResultWithResource(ctx context.Context, result *fwserver.ListResult) tfprotov6.ListResourceResult
func MoveResourceStateResponse ¶ added in v1.6.0
func MoveResourceStateResponse(ctx context.Context, fw *fwserver.MoveResourceStateResponse) *tfprotov6.MoveResourceStateResponse
MoveResourceStateResponse returns the *tfprotov6.MoveResourceStateResponse equivalent of a *fwserver.MoveResourceStateResponse.
func OpenEphemeralResourceResponse ¶ added in v1.13.0
func OpenEphemeralResourceResponse(ctx context.Context, fw *fwserver.OpenEphemeralResourceResponse) *tfprotov6.OpenEphemeralResourceResponse
OpenEphemeralResourceResponse returns the *tfprotov6.OpenEphemeralResourceResponse equivalent of a *fwserver.OpenEphemeralResourceResponse.
func PlanActionResponse ¶ added in v1.16.0
func PlanActionResponse(ctx context.Context, fw *fwserver.PlanActionResponse) *tfprotov6.PlanActionResponse
PlanActionResponse returns the *tfprotov6.PlanActionResponse equivalent of a *fwserver.PlanActionResponse.
func PlanResourceChangeResponse ¶ added in v0.9.0
func PlanResourceChangeResponse(ctx context.Context, fw *fwserver.PlanResourceChangeResponse) *tfprotov6.PlanResourceChangeResponse
PlanResourceChangeResponse returns the *tfprotov6.PlanResourceChangeResponse equivalent of a *fwserver.PlanResourceChangeResponse.
func ProgressInvokeActionEventType ¶ added in v1.16.0
func ProgressInvokeActionEventType(ctx context.Context, event fwserver.InvokeProgressEvent) tfprotov6.InvokeActionEvent
func ReadDataSourceResponse ¶ added in v0.9.0
func ReadDataSourceResponse(ctx context.Context, fw *fwserver.ReadDataSourceResponse) *tfprotov6.ReadDataSourceResponse
ReadDataSourceResponse returns the *tfprotov6.ReadDataSourceResponse equivalent of a *fwserver.ReadDataSourceResponse.
func ReadResourceResponse ¶ added in v0.9.0
func ReadResourceResponse(ctx context.Context, fw *fwserver.ReadResourceResponse) *tfprotov6.ReadResourceResponse
ReadResourceResponse returns the *tfprotov6.ReadResourceResponse equivalent of a *fwserver.ReadResourceResponse.
func RenewEphemeralResourceResponse ¶ added in v1.13.0
func RenewEphemeralResourceResponse(ctx context.Context, fw *fwserver.RenewEphemeralResourceResponse) *tfprotov6.RenewEphemeralResourceResponse
RenewEphemeralResourceResponse returns the *tfprotov6.RenewEphemeralResourceResponse equivalent of a *fwserver.RenewEphemeralResourceResponse.
func Resource ¶ added in v1.16.0
func Resource(ctx context.Context, fw *tfsdk.Resource) (*tfprotov6.DynamicValue, diag.Diagnostics)
Resource returns the *tfprotov6.DynamicValue for a *tfsdk.Resource.
func ResourceDeferred ¶ added in v1.9.0
func ResourceIdentity ¶ added in v1.15.0
func ResourceIdentity(ctx context.Context, fw *tfsdk.ResourceIdentity) (*tfprotov6.ResourceIdentityData, diag.Diagnostics)
ResourceIdentity returns the *tfprotov6.ResourceIdentityData for a *tfsdk.ResourceIdentity.
func ResourceMetadata ¶ added in v1.4.0
func ResourceMetadata(ctx context.Context, fw fwserver.ResourceMetadata) tfprotov6.ResourceMetadata
ResourceMetadata returns the tfprotov6.ResourceMetadata for a fwserver.ResourceMetadata.
func SchemaAttribute ¶
func SchemaAttribute(ctx context.Context, name string, path *tftypes.AttributePath, a fwschema.Attribute) (*tfprotov6.SchemaAttribute, error)
SchemaAttribute returns the *tfprotov6.SchemaAttribute equivalent of an Attribute. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.
func ServerCapabilities ¶ added in v0.10.0
func ServerCapabilities(ctx context.Context, fw *fwserver.ServerCapabilities) *tfprotov6.ServerCapabilities
ServerCapabilities returns the *tfprotov6.ServerCapabilities for a *fwserver.ServerCapabilities.
func State ¶ added in v0.9.0
func State(ctx context.Context, fw *tfsdk.State) (*tfprotov6.DynamicValue, diag.Diagnostics)
State returns the *tfprotov6.DynamicValue for a *tfsdk.State.
func UpgradeResourceIdentityResponse ¶ added in v1.15.0
func UpgradeResourceIdentityResponse(ctx context.Context, fw *fwserver.UpgradeResourceIdentityResponse) *tfprotov6.UpgradeResourceIdentityResponse
UpgradeResourceIdentityResponse returns the *tfprotov6.UpgradeResourceIdentityResponse equivalent of a *fwserver.UpgradeResourceIdentityResponse.
func UpgradeResourceStateResponse ¶ added in v0.9.0
func UpgradeResourceStateResponse(ctx context.Context, fw *fwserver.UpgradeResourceStateResponse) *tfprotov6.UpgradeResourceStateResponse
UpgradeResourceStateResponse returns the *tfprotov6.UpgradeResourceStateResponse equivalent of a *fwserver.UpgradeResourceStateResponse.
func ValidateActionConfigResponse ¶ added in v1.16.0
func ValidateActionConfigResponse(ctx context.Context, fw *fwserver.ValidateActionConfigResponse) *tfprotov6.ValidateActionConfigResponse
ValidateActionConfigResponse returns the *tfprotov6.ValidateActionConfigResponse equivalent of a *fwserver.ValidateActionConfigResponse.
func ValidateDataSourceConfigResponse ¶ added in v0.9.0
func ValidateDataSourceConfigResponse(ctx context.Context, fw *fwserver.ValidateDataSourceConfigResponse) *tfprotov6.ValidateDataResourceConfigResponse
ValidateDataSourceConfigResponse returns the *tfprotov6.ValidateDataSourceConfigResponse equivalent of a *fwserver.ValidateDataSourceConfigResponse.
func ValidateEphemeralResourceConfigResponse ¶ added in v1.13.0
func ValidateEphemeralResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateEphemeralResourceConfigResponse) *tfprotov6.ValidateEphemeralResourceConfigResponse
ValidateEphemeralResourceConfigResponse returns the *tfprotov6.ValidateEphemeralResourceConfigResponse equivalent of a *fwserver.ValidateEphemeralResourceConfigResponse.
func ValidateListResourceConfigResponse ¶ added in v1.16.0
func ValidateListResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateListResourceConfigResponse) *tfprotov6.ValidateListResourceConfigResponse
ValidateListResourceConfigResponse returns the *tfprotov6.ValidateListResourceConfigResponse equivalent of a *fwserver.ValidateListResourceConfigResponse.
func ValidateProviderConfigResponse ¶ added in v0.9.0
func ValidateProviderConfigResponse(ctx context.Context, fw *fwserver.ValidateProviderConfigResponse) *tfprotov6.ValidateProviderConfigResponse
ValidateProviderConfigResponse returns the *tfprotov6.ValidateProviderConfigResponse equivalent of a *fwserver.ValidateProviderConfigResponse.
func ValidateResourceConfigResponse ¶ added in v0.9.0
func ValidateResourceConfigResponse(ctx context.Context, fw *fwserver.ValidateResourceConfigResponse) *tfprotov6.ValidateResourceConfigResponse
ValidateResourceConfigResponse returns the *tfprotov6.ValidateResourceConfigResponse equivalent of a *fwserver.ValidateResourceConfigResponse.
Types ¶
This section is empty.
Source Files
¶
- action_schema.go
- actionmetadata.go
- applyresourcechange.go
- block.go
- callfunction.go
- closeephemeralresource.go
- config.go
- configureprovider.go
- datasourcemetadata.go
- deferred.go
- diagnostics.go
- doc.go
- dynamic_value.go
- ephemeral_result_data.go
- ephemeralresourcemetadata.go
- function.go
- function_errors.go
- getfunctions.go
- getmetadata.go
- getproviderschema.go
- getresourceidentityschemas.go
- identity_schema.go
- identity_schema_attribute.go
- importedresource.go
- importresourcestate.go
- invoke_action_event.go
- list_resource_result.go
- listresourcemetadata.go
- moveresourcestate.go
- openephemeralresource.go
- planaction.go
- planresourcechange.go
- readdatasource.go
- readresource.go
- renewephemeralresource.go
- resource.go
- resource_identity.go
- resourcemetadata.go
- schema.go
- schema_attribute.go
- server_capabilities.go
- state.go
- upgraderesourceidentity.go
- upgraderesourcestate.go
- validateactionconfig.go
- validatedatasourceconfig.go
- validateephemeralresourceconfig.go
- validatelistresourceconfig.go
- validateproviderconfig.go
- validateresourceconfig.go