Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortedUnstructured ¶
type SortedUnstructured []unstructured.Unstructured
func (SortedUnstructured) Len ¶
func (s SortedUnstructured) Len() int
func (SortedUnstructured) Less ¶
func (s SortedUnstructured) Less(i, j int) bool
func (SortedUnstructured) Swap ¶
func (s SortedUnstructured) Swap(i, j int)
type UnstructuredTree ¶
type UnstructuredTree struct { ByUID map[types.UID]unstructured.Unstructured ByOwnerUID map[types.UID][]types.UID ByRoots map[types.UID]bool }
func (*UnstructuredTree) Add ¶
func (t *UnstructuredTree) Add(us ...unstructured.Unstructured)
Add inserts the elements into the tree.
func (*UnstructuredTree) AddSlice ¶
func (t *UnstructuredTree) AddSlice(us []unstructured.Unstructured)
AddSlice inserts each element of the slice into the tree.
func (*UnstructuredTree) Roots ¶
func (t *UnstructuredTree) Roots() []unstructured.Unstructured
func (*UnstructuredTree) Walk ¶
func (t *UnstructuredTree) Walk(p unstructured.Unstructured, cb UnstructuredTreeCallback) error
type UnstructuredTreeCallback ¶
type UnstructuredTreeCallback func(int, unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.