1
0
mirror of https://github.com/rancher/steve.git synced 2025-05-11 09:24:20 +00:00
steve/pkg/stores/partition/listprocessor
Colleen Murphy 61a39906f9 Add support for NOT filters
This change adds support for excluding results using the != operator.

Example to exclude all results with name "example":

?filter=metadata.name!=example

Include all results from namespace "example" but exclude those with name
"example":

?filter=metadata.namespace=example&metadata.name!=example

Exclude results with name "foo" OR exclude results with name "bar"
(effectively includes results of both types):

?filter=metadata.name!=foo,metadata.name!=bar
2023-03-23 14:12:14 -07:00
..
processor_test.go Add support for NOT filters 2023-03-23 14:12:14 -07:00
processor.go Add support for NOT filters 2023-03-23 14:12:14 -07:00