controller-runtimesigs.k8s.io/controller-runtime/pkg/internal/objectutil Index | Files

package objectutil

import "sigs.k8s.io/controller-runtime/pkg/internal/objectutil"

Index

Functions

func FilterWithLabels

func FilterWithLabels(objs []runtime.Object, labelSel labels.Selector) ([]runtime.Object, error)

FilterWithLabels returns a copy of the items in objs matching labelSel.

Source Files

objectutil.go

Version
v0.20.4 (latest)
Published
Mar 24, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 days ago

Tools for package owners.