convert

package
v0.0.0-...-9baa396 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigSchemaToProto

func ConfigSchemaToProto(b *tfjson.SchemaBlock) *tfprotov6.SchemaBlock

func DecodeAttributePath

func DecodeAttributePath(raws *tftypes.AttributePath) cty.Path

func DecodeDiagnostics

func DecodeDiagnostics(raws []*tfprotov6.Diagnostic) typ.Diagnostics

func FunctionDeclFromProto

func FunctionDeclFromProto(fun *tfprotov6.Function) (typ.FunctionDecl, error)

func FunctionDeclsFromProto

func FunctionDeclsFromProto(protoFuncs map[string]*tfprotov6.Function) (map[string]typ.FunctionDecl, error)

func ProtoToConfigSchema

func ProtoToConfigSchema(b *tfprotov6.SchemaBlock) *tfjson.SchemaBlock

func ProtoToDeferred

func ProtoToDeferred(d *tfprotov6.Deferred) *typ.Deferred

ProtoToDeferred translates a proto.Deferred to a providers.Deferred.

func ProtoToProviderSchema

func ProtoToProviderSchema(s *tfprotov6.Schema) tfjson.Schema

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL