Movatterモバイル変換


[0]ホーム

URL:


convert

package
v2.38.1Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2025 License:MPL-2.0Imports:10Imported by:0

Details

Repository

github.com/hashicorp/terraform-plugin-sdk

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcAppendProtoDiag

func AppendProtoDiag(ctxcontext.Context, diags []*tfprotov5.Diagnostic, d interface{}) []*tfprotov5.Diagnostic

AppendProtoDiag appends a new diagnostic from a warning string or an error.This panics if d is not a string or error.

funcAttributePathToPath

func AttributePathToPath(ap *tftypes.AttributePath)cty.Path

AttributePathToPath takes the proto encoded path and converts it to a cty.Path

funcConfigIdentitySchemaToProtoadded inv2.37.0

func ConfigIdentitySchemaToProto(ctxcontext.Context, identitySchema *configschema.Block) []*tfprotov5.ResourceIdentitySchemaAttribute

funcConfigSchemaToProto

func ConfigSchemaToProto(ctxcontext.Context, b *configschema.Block) *tfprotov5.SchemaBlock

ConfigSchemaToProto takes a *configschema.Block and converts it to atfprotov5.SchemaBlock for a grpc response.

funcDiagsToProto

func DiagsToProto(diagsdiag.Diagnostics) []*tfprotov5.Diagnostic

funcPathToAttributePath

func PathToAttributePath(pcty.Path) *tftypes.AttributePath

PathToAttributePath takes a cty.Path and converts it to a proto-encoded path.

funcProtoToConfigSchema

func ProtoToConfigSchema(ctxcontext.Context, b *tfprotov5.SchemaBlock) *configschema.Block

ProtoToConfigSchema takes the GetSchema_Block from a grpc response and converts itto a terraform *configschema.Block.

funcProtoToDiags

func ProtoToDiags(ds []*tfprotov5.Diagnostic)diag.Diagnostics

ProtoToDiags converts a list of tfprotov5.Diagnostics to a diag.Diagnostics.

funcToTfValueadded inv2.38.0

func ToTfValue(incty.Value) (*tftypes.Value,error)

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp