summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/types.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-03-27 13:21:51 -0500
committerBrent Baude <bbaude@redhat.com>2020-04-15 09:38:04 -0500
commit165aef7766953cd0c0589ffa1abc25022a905adb (patch)
tree4ac195c5290dbd6ea9fbfb5b1aaa53d169a00899 /pkg/domain/entities/types.go
parenta756161e80cd32b705bb0dfe3ec4753f883ec929 (diff)
downloadpodman-165aef7766953cd0c0589ffa1abc25022a905adb.tar.gz
podman-165aef7766953cd0c0589ffa1abc25022a905adb.tar.bz2
podman-165aef7766953cd0c0589ffa1abc25022a905adb.zip
podmanv2 events
add the ability to monitor events Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/types.go')
-rw-r--r--pkg/domain/entities/types.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/domain/entities/types.go b/pkg/domain/entities/types.go
index 7e35957f4..91ae00764 100644
--- a/pkg/domain/entities/types.go
+++ b/pkg/domain/entities/types.go
@@ -3,6 +3,7 @@ package entities
import (
"net"
+ "github.com/containers/libpod/libpod/events"
"github.com/containers/libpod/pkg/specgen"
"github.com/containers/storage/pkg/archive"
"github.com/cri-o/ocicni/pkg/ocicni"
@@ -62,3 +63,12 @@ type DiffOptions struct {
type DiffReport struct {
Changes []archive.Change
}
+
+type EventsOptions struct {
+ FromStart bool
+ EventChan chan *events.Event
+ Filter []string
+ Stream bool
+ Since string
+ Until string
+}