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.21.0 (latest)
Published
May 20, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
12 hours ago

Tools for package owners.