util

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChangedValueBool

func GetChangedValueBool(key string, updated *bool, d *schema.ResourceData) *bool

func GetChangedValueInt

func GetChangedValueInt(key string, updated *bool, d *schema.ResourceData) *int

func GetChangedValueString

func GetChangedValueString(key string, updated *bool, d *schema.ResourceData) *string

func GetChangedValueStringList

func GetChangedValueStringList(key string, updated *bool, d *schema.ResourceData) *[]string

func GetListChanges

func GetListChanges(old interface{}, new interface{}) (remove []string, add []string)

func GetResourceChange

func GetResourceChange(key string, d *schema.ResourceData) (bool, string, string)

func ResourceStringHash

func ResourceStringHash(si interface{}) int

func ToInterface

func ToInterface(data []string) (res []interface{})

func ToStringsSlice

func ToStringsSlice(data interface{}) (res []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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