|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
LabelsFilter defines a query for selecting objects based on their labels. It allows you to construct complex selection logic by combining multiple label matchers. The filter has two optional fields, anyOf and allOf. If both are specified, an object is selected only if it satisfies the conditions in both fields. |
||
| anyOf |
array |
LabelMatcher requirements. An object is selected if it satisfies at least one of the requirements in this list (a logical OR). If provided, the list cannot be empty. |
|
| LabelMatcher | |||
| allOf |
array |
LabelMatcher requirements. An object is selected only if it satisfies all of the requirements in this list (a logical AND). If provided, the list cannot be empty. |
|
| LabelMatcher |
LabelsFilter
Updated at:
Is this page helpful?