Documentation
¶
Index ¶
- func DeepHashObject(obj interface{}) (string, error)
- func ManifestObjects(r io.Reader, name string) ([]client.Object, error)
- func MergeMaps(maps ...map[string]string) map[string]string
- func ObjectNameForBaseAndSuffix(base string, suffix string) string
- func ToUnstructured(obj client.Object) (*unstructured.Unstructured, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepHashObject ¶
DeepHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.
func ObjectNameForBaseAndSuffix ¶ added in v1.3.0
func ToUnstructured ¶ added in v1.3.0
func ToUnstructured(obj client.Object) (*unstructured.Unstructured, error)
ToUnstructured converts obj into an Unstructured. It expects the obj's gvk to be defined. If it is not, an error will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.