- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FilterSelectsNonEmpty (0.23 sec)
-
pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go
var waypointAddress *workloadapi.GatewayAddress if waypoint != nil { waypointAddress = a.getWaypointAddress(waypoint) } fo := []krt.FetchOption{krt.FilterIndex(WorkloadServicesNamespaceIndex, wle.Namespace), krt.FilterSelectsNonEmpty(wle.GetLabels())} if !features.EnableK8SServiceSelectWorkloadEntries { fo = append(fo, krt.FilterGeneric(func(a any) bool { return a.(model.ServiceInfo).Source == kind.ServiceEntry })) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 16:51:29 UTC 2024 - 20.9K bytes - Viewed (0) -
pkg/kube/krt/README.md
* `FilterLabel(labels)`: filters to only objects that match these labels. * `FilterSelects(labels)`: filters to only objects that **select** these labels. An empty selector matches everything. * `FilterSelectsNonEmpty(labels)`: filters to only objects that **select** these labels. An empty selector matches nothing. * `FilterGeneric(func(any) bool)`: filters by an arbitrary function.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 11.8K bytes - Viewed (0)