Documentation ¶
Index ¶
- func ResourceAttribute(desc, markdownDesc string) schema.SetAttribute
- type Type
- func (t Type) Equal(o attr.Type) bool
- func (t Type) String() string
- func (t Type) ValueFromSet(_ context.Context, in basetypes.SetValue) (basetypes.SetValuable, diag.Diagnostics)
- func (t Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Type) ValueType(_ context.Context) attr.Value
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceAttribute ¶
func ResourceAttribute(desc, markdownDesc string) schema.SetAttribute
ResourceAttribute returns a resource schema attribute for string set.
Types ¶
type Type ¶
Type defines the type for string set.
func (Type) ValueFromSet ¶
func (t Type) ValueFromSet(_ context.Context, in basetypes.SetValue) (basetypes.SetValuable, diag.Diagnostics)
ValueFromSet converts the set value to a SetValuable type.
func (Type) ValueFromTerraform ¶
ValueFromTerraform converts the Terraform value to a NewValue type.
type Value ¶
Value defines the value for string set.
func NewValue ¶
func NewValue(str *string, diags *diag.Diagnostics) Value
NewValue converts a string of items to a new string set value.
func (Value) ValueStringPointer ¶
ValueStringPointer returns a pointer to the string representation of string set value.
Click to show internal directories.
Click to hide internal directories.