spiegel_podman/docs/source
Aftab Ali ff12dabebb events: add missing NETWORK filter to generateEventFilter
podman events --filter network=<name> was unconditionally returning
'NETWORK is an invalid filter' because the NETWORK case was absent
from the generateEventFilter switch statement in filters.go.

All other first-class event types (container, image, pod, volume)
had corresponding filter cases, but the Network type - despite being
fully defined in config.go along with NetworkConnect/NetworkDisconnect
statuses and the Event.Network field - had no handler.

Add the NETWORK case to filter by network name (e.Network), consistent
with Docker's --filter network= behaviour.  ID-prefix matching is
intentionally omitted: for network connect/disconnect events e.ID
holds the container ID, not the network ID, so prefix matching would
only work for create/remove events and silently miss join/leave events.

Also add unit tests (filters_test.go), integration tests
(test/e2e/events_test.go, test/system/090-events.bats), shell
completion support for --filter network= (completion.go), and
document the new filter key in the man page.

Fixes: https://github.com/podman-container-tools/podman/issues/29387
Signed-off-by: Aftab Ali <aftab123215@gmail.com>
2026-09-11 14:31:30 +05:30
..
_static build the swagger.yml on readthedocs 2026-06-23 19:10:34 +02:00
locale/ja/LC_MESSAGES [DOCS] Update references common -> container-libs/common 2026-02-04 21:29:17 +10:00
markdown events: add missing NETWORK filter to generateEventFilter 2026-09-11 14:31:30 +05:30
Commands.rst Initial implementation of podman quadlet commands 2025-07-18 13:57:11 -07:00
conf.py Revert "docs: generate Reference version list from json file" 2026-06-23 19:09:30 +02:00
includes.rst add containerfile doc link 2025-09-19 17:18:45 -04:00
index.rst [CI:DOCS] Add link to podman py docs 2023-11-17 07:18:59 -05:00
Introduction.rst add containerfile doc link 2025-09-19 17:18:45 -04:00
Reference.rst build the swagger.yml on readthedocs 2026-06-23 19:10:34 +02:00
Search.rst [CI:DOCS] Docs revamp. 2020-05-21 17:16:10 -04:00
Tutorials.rst fix typo in Tutorials.rst 2024-05-23 16:15:40 +01:00