mirror of
https://github.com/containers/podman.git
synced 2026-05-24 00:15:40 -04:00
- libpod/events.go & libpod/runtime.go: Added the `Artifact` event type. Refactored and deduplicated event forwarding logic by introducing `spawnEventForwarder[T any]`, replacing separate goroutine loops for images and artifacts. Implemented graceful shutdown and resolved eventer initialization race conditions. - libpod/events: Implemented event filtering by name/ID, updated journald and logfile readers/writers for artifact events, and added `Artifact` to `ToHumanReadable` formatting. - cmd/podman: Added shell auto-completion for `artifact=` and `type=artifact` filters. - docs/test: Documented the `artifact` event type, statuses, and filters in `podman-events.1.md`. Added an end-to-end test in `events_test.go` to verify event emissions. Signed-off-by: Byounguk Lee <nimdrak@gmail.com>