Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveAttributes ¶
func RemoveAttributes(obj *unstructured.Unstructured, expr string)
`expr` is a dot-separated address for nested values, in the same format as arguments to `kubectl explain`. For example, the expr "spec.containers.env" will cause Kubernetes Pod container environment variables to be removed. "containers" is an array, and each element of this array is redacted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.