Documentation
¶
Index ¶
- func Schema(ctx context.Context) schema.Attribute
- type Type
- func (t Type) Equal(o attr.Type) bool
- func (t Type) String() string
- func (t Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t Type) ValueType(ctx context.Context) attr.Value
- type Value
- func (v Value) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v Value) Equal(o attr.Value) bool
- func (v Value) GetErrorMessages() []string
- func (v Value) GetErrorMessagesRegex() []regexp.Regexp
- func (v Value) IsNull() bool
- func (v Value) IsUnknown() bool
- func (v Value) String() string
- func (v Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v Value) Type(ctx context.Context) attr.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶
type Type struct {
basetypes.ObjectType
}
func (Type) ValueFromObject ¶
func (t Type) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (Type) ValueFromTerraform ¶
type Value ¶
type Value struct {
ErrorMessageRegex basetypes.ListValue `tfsdk:"error_message_regex"`
// contains filtered or unexported fields
}
func NewRetryValueMust ¶
func NewValueNull ¶
func NewValueNull() Value
func NewValueUnknown ¶
func NewValueUnknown() Value
func (Value) AttributeTypes ¶
func (Value) GetErrorMessages ¶
func (Value) GetErrorMessagesRegex ¶
func (Value) ToObjectValue ¶
func (v Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (Value) ToTerraformValue ¶
Click to show internal directories.
Click to hide internal directories.