Documentation
¶
Index ¶
- func DefaultImporter(validateFunc IDValidationFunc) *schema.ResourceImporter
- func ForCreate(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)
- func ForCreateUpdate(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)
- func ForDelete(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)
- func ForRead(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)
- func ForUpdate(ctx context.Context, d *schema.ResourceData) (context.Context, context.CancelFunc)
- func ImportAsExistsError(resourceName, id string) error
- func SuppressJsonOrderingDifference(_, old, new string, _ *schema.ResourceData) bool
- type IDValidationFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultImporter ¶
func DefaultImporter(validateFunc IDValidationFunc) *schema.ResourceImporter
func ForCreate ¶
func ForCreate(ctx context.Context, d *schema.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 *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 ¶
func ForDelete(ctx context.Context, d *schema.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 *schema.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 *schema.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
func ImportAsExistsError ¶
func SuppressJsonOrderingDifference ¶
func SuppressJsonOrderingDifference(_, old, new string, _ *schema.ResourceData) bool