retry

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema(ctx context.Context) schema.Attribute

Types

type Type

type Type struct {
	basetypes.ObjectType
}

func (Type) Equal

func (t Type) Equal(o attr.Type) bool

func (Type) String

func (t Type) String() string

func (Type) ValueFromTerraform

func (t Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (Type) ValueType

func (t Type) ValueType(ctx context.Context) attr.Value

type Value

type Value struct {
	ErrorMessageRegex basetypes.ListValue `tfsdk:"error_message_regex"`
	// contains filtered or unexported fields
}

func NewRetryValueMust

func NewRetryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) Value

func NewValue

func NewValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (Value, diag.Diagnostics)

func NewValueNull

func NewValueNull() Value

func NewValueUnknown

func NewValueUnknown() Value

func (Value) AttributeTypes

func (v Value) AttributeTypes(ctx context.Context) map[string]attr.Type

func (Value) Equal

func (v Value) Equal(o attr.Value) bool

func (Value) GetErrorMessages

func (v Value) GetErrorMessages() []string

func (Value) GetErrorMessagesRegex

func (v Value) GetErrorMessagesRegex() []regexp.Regexp

func (Value) IsNull

func (v Value) IsNull() bool

func (Value) IsUnknown

func (v Value) IsUnknown() bool

func (Value) String

func (v Value) String() string

func (Value) ToObjectValue

func (v Value) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (Value) ToTerraformValue

func (v Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (Value) Type

func (v Value) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL