Documentation ¶
Overview ¶
Package timeouts contains all functions and variables related to handling timeouts
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SDKDefaultTimeout = time.Minute * 20
SDKDefaultTimeout is a timeout used by Hashicorp when no explicit timeout was specified
Functions ¶
func MigrateToExplicit ¶
func MigrateToExplicit() func(ctx context.Context, rawState map[string]any, meta any) (map[string]any, error)
MigrateToExplicit is used as a state upgrader function from implicit SDK's timeout object to explicit single-block based timeout
func ValidateDurationFormat ¶
func ValidateDurationFormat(v any, _ cty.Path) diag.Diagnostics
ValidateDurationFormat validates if provided value is a time duration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.