mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue add resource filter handling before printing **Release note**: ```release-note release-note-none ``` Resources are currently filtered (in order to prevent printing) at print time in their HumanReadablePrinter handlers. This design makes it not possible to filter objects when they are printed using any other printer, such as YAML, JSON, or the NamePrinter. This patch removes any filters previously added at the printer level for pods and adds a way to define resource-specific filters before they are sent to a printer handler. A woking filter handler for pods has also been implemented. Filters affect resources being printed through the HumanReadablePrinter, YAML, JSON, and `--template` printers. cc @smarterclayton |
||
---|---|---|
.. | ||
builder.go | ||
builder_test.go | ||
doc.go | ||
helper.go | ||
helper_test.go | ||
interfaces.go | ||
mapper.go | ||
result.go | ||
selector.go | ||
visitor.go | ||
visitor_test.go |