resource_utils

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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