util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool2BoolPtr

func Bool2BoolPtr(val bool) *bool

func ConvertCAPVCDEntityToMap

func ConvertCAPVCDEntityToMap(capvcdEntity *rdeType.CAPVCDEntity) (map[string]interface{}, error)

func ConvertCAPVCDStatusToMap

func ConvertCAPVCDStatusToMap(capvcdStatus *rdeType.CAPVCDStatus) (map[string]interface{}, error)

func ConvertMapToCAPVCDEntity

func ConvertMapToCAPVCDEntity(entityMap map[string]interface{}) (*rdeType.CAPVCDEntity, error)

func ConvertMapToCAPVCDStatus

func ConvertMapToCAPVCDStatus(capvcdStatusMap map[string]interface{}) (*rdeType.CAPVCDStatus, error)

func DecodeXMLBody

func DecodeXMLBody(bodyType types.BodyType, resp *http.Response, out interface{}) error

DecodeXMLBody is used to decode a response body of types.BodyType

func Float2FloatPtr

func Float2FloatPtr(val float64) *float64

func Int2IntPtr

func Int2IntPtr(val int) *int

func Str2Bool

func Str2Bool(val string) bool

Str2Bool returns true if the string value is not false

Types

This section is empty.

Jump to

Keyboard shortcuts

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