references

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 3 Imported by: 0

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(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.

Directories

Path Synopsis
Package path provides functionality for walking through an object using a path in search of specific values.
Package path provides functionality for walking through an object using a path in search of specific values.

Jump to

Keyboard shortcuts

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