kube

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TopOwner

func TopOwner(pod *informer.PodInfo) *informer.Owner

TopOwner assumes that the owners slice as returned by the informers' cache library, is sorted from lower-level to upper-level, so the last owner will be the top owner (e.g. the Deployment that owns the ReplicaSet that owns a Pod).

Types

type CachedObjMeta

type CachedObjMeta struct {
	Meta             *informer.ObjectMeta
	OTELResourceMeta map[attr.Name]string
}

CachedObjMeta is a wrapper around the informer.ObjectMeta that also contains the OTEL resource metadata.

Jump to

Keyboard shortcuts

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