Package fwtype implements shared logic for interacting with the framework type system.
Index ¶This section is empty.
Variables ¶This section is empty.
Functions ¶ func AttributeCollectionWithDynamicTypeDiag ¶func AttributeCollectionWithDynamicTypeDiag(attributePath path.Path) diag.Diagnosticfunc BlockCollectionWithDynamicTypeDiag ¶
func BlockCollectionWithDynamicTypeDiag(attributePath path.Path) diag.Diagnosticfunc ContainsCollectionWithDynamic ¶
func ContainsCollectionWithDynamic(typ attr.Type) bool
ContainsCollectionWithDynamic will return true if an attr.Type is a complex type that either is or contains any collection types with dynamic types, which are not supported by the framework type system. Primitives, invalid types (missingType), or nil will return false.
Unsupported collection types include:
func ContainsMissingUnderlyingType(typ attr.Type) bool
ContainsMissingUnderlyingType will return true if an attr.Type is a complex type that either is or contains any collection types with missing element or attribute types. Primitives will return false. Nil will return true.
func IsAllowedPrimitiveType ¶ added in v1.15.0func IsAllowedPrimitiveType(typ attr.Type) bool
IsAllowedPrimitiveType checks if the given attr.Type is an allowed primitive type for resource identity.
func ParameterCollectionWithDynamicTypeDiag ¶func ParameterCollectionWithDynamicTypeDiag(argument int64, name string) diag.Diagnosticfunc ParameterMissingUnderlyingTypeDiag ¶ added in v1.9.0
func ParameterMissingUnderlyingTypeDiag(name string, position *int64) diag.Diagnosticfunc ReturnCollectionWithDynamicTypeDiag ¶
func ReturnCollectionWithDynamicTypeDiag() diag.Diagnosticfunc ReturnMissingUnderlyingTypeDiag ¶ added in v1.9.0
func ReturnMissingUnderlyingTypeDiag() diag.Diagnosticfunc VariadicParameterCollectionWithDynamicTypeDiag ¶
func VariadicParameterCollectionWithDynamicTypeDiag(name string) diag.DiagnosticTypes ¶
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