Documentation
¶
Overview ¶
Package references provides functionality for searching through a resource for references to other resources. An example of a reference would be a Pod referencing a named ServiceAccount or a StatefulSet referencing a named PersistentVolumeClaim.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(uu unstructured.Unstructured, callback func(kind, name string))
All iterates over all named resource references in the given unstructured.Unstructured.
func Search ¶ added in v0.2.0
func Search(uu unstructured.Unstructured, kind string, callback func(kind, name string) bool) bool
Search examines the given unstructured.Unstructured for named resource references of the given kind or all kinds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.