Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResMapToUnstructured ¶
func ResMapToUnstructured(resMap resmap.ResMap) ([]*unstructured.Unstructured, error)
ResMapToUnstructured converts a ResMap to a slice of Unstructured objects.
func StrToUnstructured ¶
func StrToUnstructured(resources string) ([]*unstructured.Unstructured, error)
StrToUnstructured converts a string containing multiple resources in YAML format to a slice of Unstructured objects. The input string is split by "---" separator and each part is unmarshalled into an Unstructured object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.