Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToUnstructured ¶
func ToUnstructured(obj interface{}) (*unstructured.Unstructured, error)
ToUnstructured converts a runtime object into Unstructured, and can return errors related to it.
func ToUnstructuredAsGVK ¶
func ToUnstructuredAsGVK( obj interface{}, gvk schema.GroupVersionKind, ) (*unstructured.Unstructured, error)
ToUnstructuredAsGVK converts a runtime object into Unstructured, and set as given GVK. It can return errors related to conversion.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.