Documentation ¶
Index ¶
- func ForCreate(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
- func ForCreateUpdate(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
- func ForDelete(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
- func ForRead(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
- func ForUpdate(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForCreate ¶
func ForCreate(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
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 *pluginsdk.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 ¶
func ForDelete(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
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 ¶
func ForRead(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
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 ¶
func ForUpdate(ctx context.Context, d *pluginsdk.ResourceData) (context.Context, context.CancelFunc)
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.