dynamic

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepUpdate

func DeepUpdate(currentObj, newObj interface{}) (interface{}, bool, error)

DeepUpdate copies the different fields from new to old

func MapInterfaceToMapString

func MapInterfaceToMapString(v interface{}) interface{}

MapInterfaceToMapString converts map[interface{}]interface{} to map[string]interface{}

func ObjectToMapInterface

func ObjectToMapInterface(obj interface{}) (map[string]interface{}, error)

ObjectToMapInterface converts an Object to map[interface{}]interface{}

func StringToUnstructured

func StringToUnstructured(contentString string) ([]*unstructured.Unstructured, error)

StringToUnstructured converts a yaml string to array of unstructured objects

Types

This section is empty.

Jump to

Keyboard shortcuts

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