Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TransformPodObject ¶
func TransformPodObject(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
TransformPodObject does the following: 1. Ensure metadata.state.name is capitalized (and it should exist) 2. if metadata.fields[2] exists, set it to lowercase(metadata.state.name) -- might not exist data.SetNested(convert.LowerTitle(fields[2]), "metadata", "state", "name")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.