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/fwschemadata below:

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

Package fwschemadata implements the shared schema-based data implementation for configuration, plan, and state values.

This section is empty.

This section is empty.

CreateParentTerraformValue ensures that the given parent value can have children values upserted. If the parent value is known and not null, it is returned without modification. A null Object or Tuple is converted to known with null children. An unknown Object or Tuple is converted to known with unknown children. List, Map, and Set are created with empty elements.

UpsertChildTerraformValue will upsert a child value into a parent value. If the path step already has a value, it will be overwritten. Otherwise, the child value will be added.

Lists can only have the next element added according to the current length.

ValueSemanticEquality runs all semantic equality logic for a value, including recursive checking against collection and structural types.

ValueSemanticEqualityBool performs bool type semantic equality.

ValueSemanticEqualityDynamic performs dynamic type semantic equality.

ValueSemanticEqualityFloat32 performs float32 type semantic equality.

ValueSemanticEqualityFloat64 performs float64 type semantic equality.

ValueSemanticEqualityInt32 performs int32 type semantic equality.

ValueSemanticEqualityInt64 performs int64 type semantic equality.

ValueSemanticEqualityList performs list type semantic equality.

This will perform semantic equality checking on elements, regardless of whether the collection type implements the expected interface, since it cannot be assumed that the collection type implementation runs all possible element implementations.

ValueSemanticEqualityListElements performs list type semantic equality on elements, returning a modified list as necessary.

ValueSemanticEqualityMap performs map type semantic equality.

This will perform semantic equality checking on elements, regardless of whether the collection type implements the expected interface, since it cannot be assumed that the collection type implementation runs all possible element implementations.

ValueSemanticEqualityMapElements performs list type semantic equality on elements, returning a modified list as necessary.

ValueSemanticEqualityNumber performs number type semantic equality.

ValueSemanticEqualityObject performs object type semantic equality.

This will perform semantic equality checking on attributes, regardless of whether the structural type implements the expected interface, since it cannot be assumed that the structural type implementation runs all possible attribute implementations.

ValueSemanticEqualityObjectAttributes performs object type semantic equality on attributes, returning a modified object as necessary.

ValueSemanticEqualitySet performs set type semantic equality.

This will perform semantic equality checking on elements, regardless of whether the collection type implements the expected interface, since it cannot be assumed that the collection type implementation runs all possible element implementations.

ValueSemanticEqualitySetElements performs list type semantic equality on elements, returning a modified list as necessary.

ValueSemanticEqualityString performs string type semantic equality.

Data is the shared storage implementation for schema-based values, such as configuration, plan, and state.

Get populates the struct passed as `target` with the entire state.

GetAtPath retrieves the attribute found at `path` and populates the `target` with the value.

NullifyCollectionBlocks converts list and set block empty values to null values. The reverse conversion is ReifyNullCollectionBlocks.

PathExists returns true if the path can be reached. The value at the path may be null or unknown.

PathMatches returns all matching path.Paths from the given path.Expression.

If a parent path is null or unknown, which would prevent a full expression from matching, the parent path is returned rather than no match to prevent false positives.

ReifyNullCollectionBlocks converts list and set block null values to empty values. This is the reverse conversion of NullifyCollectionBlocks.

Set replaces the entire value. The value should be a struct whose fields have one of the attr.Value types. Each field must have the tfsdk field tag.

SetAtPath sets the attribute at `path` using the supplied Go value.

The attribute path and value must be valid with the current schema. If the attribute path already has a value, it will be overwritten. If the attribute path does not have a value, it will be added, including any parent attribute paths as necessary.

Lists can only have the next element added according to the current length.

SetAtPathTransformFunc recursively creates a value based on the current Plan values along the path. If the value at the path does not yet exist, this will perform recursion to add the child value to a parent value, creating the parent value if necessary.

TerraformValueAtTerraformPath returns the tftypes.Value at a given tftypes.AttributePath or an error.

TransformDefaults walks the schema and applies schema defined default values when configRaw contains a null value at the same path.

ValidPathExpression returns true if the given expression is valid for the schema underlying the Data. This can be used to determine if there was an expression implementation error versus an expression returning no path matches based on implementation details of the underlying data storage.

ValueAtPath retrieves the attribute found at `path` and returns it as an attr.Value. Consumers should assert the type of the returned value with the desired attr.Type.

DataDescription is a human friendly type for Data. Used in error diagnostics.

String returns the lowercase string of the description.

Title returns the titlecase string of the description.

ValueSemanticEqualityRequest represents a request for the provider to perform semantic equality logic on a value.

ValueSemanticEqualityResponse represents a response to a ValueSemanticEqualityRequest.


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