labelselectors

package
v0.15.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(selectors ...*metav1.LabelSelector) *metav1.LabelSelector

Merge combines multiple label selectors by merging match labels and expressions. When the same label key appears in multiple selectors with different values, the last value wins. Duplicate match expressions are collapsed; conflicting expressions remain and will match nothing. Returns nil if all input selectors are nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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