Package fromtftypes contains functions to convert from terraform-plugin-go tftypes types to framework types.
Index ¶This section is empty.
Variables ¶This section is empty.
Functions ¶ func AttributePath ¶ added in v0.11.0func AttributePath(ctx context.Context, tfType *tftypes.AttributePath, schema fwschema.Schema) (path.Path, diag.Diagnostics)
AttributePath returns the path.Path equivalent of a *tftypes.AttributePath.
func AttributePathStep ¶func AttributePathStep(ctx context.Context, tfType tftypes.AttributePathStep, attrType attr.Type) (path.PathStep, error)
AttributePathStep returns the path.PathStep equivalent of a tftypes.AttributePathStep. An error is returned instead of diag.Diagnostics so callers can include appropriate logical context about when the error occurred.
func Value ¶func Value(ctx context.Context, tfType tftypes.Value, attrType attr.Type) (attr.Value, error)
Value returns the attr.Value equivalent to the tftypes.Value.
Types ¶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