Documentation ¶
Overview ¶
Package util contains utility function and constants used in other packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownVerb = errors.New("unknown API verb")
ErrUnknownVerb for unknown verbs, not exported as a constant.
Functions ¶
func ToUnstructured ¶
func ToUnstructured(name, kind string, obj interface{}) (*unstructured.Unstructured, error)
ToUnstructured converts informed object to unstructured, using informed name and kind.
Types ¶
Click to show internal directories.
Click to hide internal directories.