utree

package
v0.0.0-...-85cb655 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

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

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 (*UnstructuredTree) Walk

type UnstructuredTreeCallback

type UnstructuredTreeCallback func(int, unstructured.Unstructured) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL