schema

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourceDataChangedKeys added in v1.26.0

func GetResourceDataChangedKeys(keys []string, d resourceDataProvider) map[string]interface{}

func GetResourceDataListElementChanges added in v1.26.0

func GetResourceDataListElementChanges(keys []string, listKeyName string, listIndex int, d resourceDataProvider) map[string]interface{}

func SetMap

func SetMap(d *schema.ResourceData, m map[string]interface{}) error

setMap sets the map of values to ResourceData, checking and returning the errors. Typically d.Set is not error checked. This helper makes checking those errors less tedious. Because this works with a map, the order of the errors would not be predictable, to avoid this the errors will be sorted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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