timeouts

package
v1.44.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForCreate

ForCreate returns the context wrapped with the timeout for an Create operation

If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrapped with a context Otherwise this returns the default context

func ForCreateUpdate

func ForCreateUpdate(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)

ForCreateUpdate returns the context wrapped with the timeout for an combined Create/Update operation

If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrapped with a context Otherwise this returns the default context

func ForDelete

ForDelete returns the context wrapped with the timeout for an Delete operation

If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrapped with a context Otherwise this returns the default context

func ForRead

ForRead returns the context wrapped with the timeout for an Read operation

If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrapped with a context Otherwise this returns the default context

func ForUpdate

ForUpdate returns the context wrapped with the timeout for an Update operation

If the 'SupportsCustomTimeouts' feature toggle is enabled - this is wrapped with a context Otherwise this returns the default context

Types

This section is empty.

Jump to

Keyboard shortcuts

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