podman/libpod/events
Paul Holzinger 767947ab88
journald: podman logs --until --follow exit after time
When you use podman logs with --until and --follow it should exit after
the requested until time and not keep hanging forever.

To make this work I reworked the code to use the better journald event
reading code for logs as well. this correctly uses the sd_journal API
without having to compare the cursors to find the EOF.

The same problems exists for the k8s-file driver, I will fix this in the
next commit.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-01-06 15:19:22 +01:00
..
config.go container create: add inspect data to event 2022-11-29 10:40:24 +01:00
events.go Events for containers in pods now include the pod's ID 2022-09-22 14:18:56 -04:00
events_freebsd.go events: Fix spelling of newNullEventer 2022-09-13 08:38:13 +01:00
events_linux.go event backend none: return an error when reading events 2022-09-12 18:05:17 +02:00
events_unsupported.go events: Add freebsd support for libpod/event 2022-08-22 10:14:12 +01:00
filters.go events: support "die" filter 2022-12-22 10:59:40 +01:00
journal_linux.go journald: podman logs --until --follow exit after time 2023-01-06 15:19:22 +01:00
journal_unsupported.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
logfile.go Update c/storage after https://github.com/containers/storage/pull/1436 2022-12-01 16:05:13 +01:00
logfile_test.go Replace deprecated ioutil 2022-09-20 15:34:27 -04:00
memory.go Add podman machine events 2022-05-03 13:49:01 -07:00
nullout.go event backend none: return an error when reading events 2022-09-12 18:05:17 +02:00