Filter<ServiceSchema> filter = KubernetesHelpers.createServiceFilter(filterText);
for (ServiceSchema item : items) {
if (filter.matches(item)) {
String labels = KubernetesHelpers.toLabelsString(item.getLabels());
String selector = KubernetesHelpers.toLabelsString(item.getSelector());
table.row(item.getId(), labels, selector, KubernetesHelpers.toPositiveNonZeroText(item.getPort()));
}
}
table.print();
}