A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework@v1.15.1/internal/toproto5 below:

toproto5 package - github.com/hashicorp/terraform-plugin-framework/internal/toproto5 - Go Packages

Package toproto5 contains functions to convert from framework types to protocol version 5 (tfprotov5) types.

This section is empty.

This section is empty.

ApplyResourceChangeResponse returns the *tfprotov5.ApplyResourceChangeResponse equivalent of a *fwserver.ApplyResourceChangeResponse.

Block returns the *tfprotov5.SchemaNestedBlock equivalent of a Block. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.

CallFunctionResponse returns the *tfprotov5.CallFunctionResponse equivalent of a *fwserver.CallFunctionResponse.

CloseEphemeralResourceResponse returns the *tfprotov5.CloseEphemeralResourceResponse equivalent of a *fwserver.CloseEphemeralResourceResponse.

Config returns the *tfprotov5.DynamicValue for a *tfsdk.Config.

ConfigureProviderResponse returns the *tfprotov5.ConfigureProviderResponse equivalent of a *fwserver.ConfigureProviderResponse.

DataSourceMetadata returns the tfprotov5.DataSourceMetadata for a fwserver.DataSourceMetadata.

DiagnosticSeverity converts diag.Severity into tfprotov5.DiagnosticSeverity.

Diagnostics converts the diagnostics into the tfprotov5 collection type.

DynamicValue returns the *tfprotov5.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.

EphemeralResourceMetadata returns the tfprotov5.EphemeralResourceMetadata for a fwserver.EphemeralResourceMetadata.

EphemeralResultData returns the *tfprotov5.DynamicValue for a *tfsdk.EphemeralResultData.

Function returns the *tfprotov5.Function for a function.Definition.

FunctionError converts the function error into the tfprotov5 function error.

FunctionMetadata returns the tfprotov5.FunctionMetadata for a fwserver.FunctionMetadata.

FunctionParameter returns the *tfprotov5.FunctionParameter for a function.Parameter.

FunctionResultData returns the *tfprotov5.DynamicValue for a given function.ResultData.

FunctionReturn returns the *tfprotov5.FunctionReturn for a function.Return.

GetFunctionsResponse returns the *tfprotov5.GetFunctionsResponse equivalent of a *fwserver.GetFunctionsResponse.

GetMetadataResponse returns the *tfprotov5.GetMetadataResponse equivalent of a *fwserver.GetMetadataResponse.

GetProviderSchemaResponse returns the *tfprotov5.GetProviderSchemaResponse equivalent of a *fwserver.GetProviderSchemaResponse.

GetResourceIdentitySchemasResponse returns the *tfprotov5.GetResourceIdentitySchemasResponse equivalent of a *fwserver.GetResourceIdentitySchemasResponse.

IdentitySchema returns the *tfprotov5.ResourceIdentitySchema equivalent of a Schema.

IdentitySchemaAttribute returns the *tfprotov5.ResourceIdentitySchemaAttribute equivalent of an Attribute. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.

ImportResourceStateResponse returns the *tfprotov5.ImportResourceStateResponse equivalent of a *fwserver.ImportResourceStateResponse.

ImportedResource returns the *tfprotov5.ImportedResource equivalent of a *fwserver.ImportedResource.

MoveResourceStateResponse returns the *tfprotov5.MoveResourceStateResponse equivalent of a *fwserver.MoveResourceStateResponse.

OpenEphemeralResourceResponse returns the *tfprotov5.OpenEphemeralResourceResponse equivalent of a *fwserver.OpenEphemeralResourceResponse.

PlanResourceChangeResponse returns the *tfprotov5.PlanResourceChangeResponse equivalent of a *fwserver.PlanResourceChangeResponse.

PrepareProviderConfigResponse returns the *tfprotov5.PrepareProviderConfigResponse equivalent of a *fwserver.ValidateProviderConfigResponse.

ReadDataSourceResponse returns the *tfprotov5.ReadDataSourceResponse equivalent of a *fwserver.ReadDataSourceResponse.

ReadResourceResponse returns the *tfprotov5.ReadResourceResponse equivalent of a *fwserver.ReadResourceResponse.

RenewEphemeralResourceResponse returns the *tfprotov5.RenewEphemeralResourceResponse equivalent of a *fwserver.RenewEphemeralResourceResponse.

ResourceIdentity returns the *tfprotov5.ResourceIdentityData for a *tfsdk.ResourceIdentity.

ResourceMetadata returns the tfprotov5.ResourceMetadata for a fwserver.ResourceMetadata.

Schema returns the *tfprotov5.Schema equivalent of a Schema.

SchemaAttribute returns the *tfprotov5.SchemaAttribute equivalent of an Attribute. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.

ServerCapabilities returns the *tfprotov5.ServerCapabilities for a *fwserver.ServerCapabilities.

State returns the *tfprotov5.DynamicValue for a *tfsdk.State.

UpgradeResourceIdentityResponse returns the *tfprotov5.UpgradeResourceIdentityResponse equivalent of a *fwserver.UpgradeResourceIdentityResponse.

UpgradeResourceStateResponse returns the *tfprotov5.UpgradeResourceStateResponse equivalent of a *fwserver.UpgradeResourceStateResponse.

ValidateDataSourceConfigResponse returns the *tfprotov5.ValidateDataSourceConfigResponse equivalent of a *fwserver.ValidateDataSourceConfigResponse.

ValidateEphemeralResourceConfigResponse returns the *tfprotov5.ValidateEphemeralResourceConfigResponse equivalent of a *fwserver.ValidateEphemeralResourceConfigResponse.

ValidateResourceTypeConfigResponse returns the *tfprotov5.ValidateResourceTypeConfigResponse equivalent of a *fwserver.ValidateResourceConfigResponse.

This section is empty.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4