package
1.0.1
Repository: https://github.com/terramate-io/opentofulib.git
Documentation: pkg.go.dev

# Functions

AppendProtoDiag appends a new diagnostic from a warning string or an error.
AttributePathToPath takes the proto encoded path and converts it to a cty.Path.
ConfigSchemaToProto takes a *configschema.Block and converts it to a proto.Schema_Block for a grpc response.
AttributePathToPath takes a cty.Path and converts it to a proto-encoded path.
ProtoToConfigSchema takes the GetSchcema_Block from a grpc response and converts it to a tofu *configschema.Block.
No description provided by the author
ProtoToDiagnostics converts a list of proto.Diagnostics to a tf.Diagnostics.
No description provided by the author
No description provided by the author
ProtoToProviderSchema takes a proto.Schema and converts it to a providers.Schema.
No description provided by the author
WarnsAndErrorsToProto converts the warnings and errors return by the legacy provider to protobuf diagnostics.