Documentation
¶
Index ¶
- func CalculateAddedRemovedResources(newResourcesList, oldResourcesList []interface{}) (addedResources []map[string]interface{}, ...)
- func CreateIdToObjectMap(objectsList []interface{}) map[string]interface{}
- func ToBoolPointer(object interface{}) *bool
- func ToInt32Pointer(object interface{}) *int32
- func ToStringPointer(object interface{}) *string
- func ToStringSlice(params []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateAddedRemovedResources ¶
func CalculateAddedRemovedResources(newResourcesList, oldResourcesList []interface{}) ( addedResources []map[string]interface{}, removedResources []map[string]interface{})
CalculateAddedRemovedResources utility method that provides the newly created or removed resources as a separate list, provided the new and old values of the resource list.
func CreateIdToObjectMap ¶
func CreateIdToObjectMap(objectsList []interface{}) map[string]interface{}
CreateIdToObjectMap Creates a Map with string ID index to Object.
func ToBoolPointer ¶
func ToBoolPointer(object interface{}) *bool
func ToInt32Pointer ¶ added in v0.5.0
func ToInt32Pointer(object interface{}) *int32
func ToStringPointer ¶
func ToStringPointer(object interface{}) *string
func ToStringSlice ¶ added in v0.5.0
func ToStringSlice(params []interface{}) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.