tf

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultImporter

func DefaultImporter(validateFunc IDValidationFunc) *schema.ResourceImporter

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

func ImportAsExistsError

func ImportAsExistsError(resourceName, id string) error

func SuppressJsonOrderingDifference

func SuppressJsonOrderingDifference(_, old, new string, _ *schema.ResourceData) bool

Types

type IDValidationFunc

type IDValidationFunc func(id string) error

Jump to

Keyboard shortcuts

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