summaryrefslogtreecommitdiff
path: root/libpod/events/config.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-26 11:16:27 -0700
committerGitHub <noreply@github.com>2019-04-26 11:16:27 -0700
commite8ede74f5ef7b0d044c5d5344186fb998f676cec (patch)
tree9ee3a51fc6c94b9913da7b6097b4a4960372c766 /libpod/events/config.go
parenta85155617fb1ed4248adb2169845f4a08ab88789 (diff)
parente05af783295c9f4a0b210c0e6d368cf8c6dfe7c6 (diff)
downloadpodman-e8ede74f5ef7b0d044c5d5344186fb998f676cec.tar.gz
podman-e8ede74f5ef7b0d044c5d5344186fb998f676cec.tar.bz2
podman-e8ede74f5ef7b0d044c5d5344186fb998f676cec.zip
Merge pull request #3019 from mheon/system_events
Add System event type and renumber, refresh events
Diffstat (limited to 'libpod/events/config.go')
-rw-r--r--libpod/events/config.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpod/events/config.go b/libpod/events/config.go
index d3b6d8c50..36387e835 100644
--- a/libpod/events/config.go
+++ b/libpod/events/config.go
@@ -84,6 +84,9 @@ const (
Image Type = "image"
// Pod - event is related to pods
Pod Type = "pod"
+ // System - event is related to Podman whole and not to any specific
+ // container/pod/image/volume
+ System Type = "system"
// Volume - event is related to volumes
Volume Type = "volume"
@@ -123,8 +126,14 @@ const (
Pull Status = "pull"
// Push ...
Push Status = "push"
+ // Refresh indicates that the system refreshed the state after a
+ // reboot.
+ Refresh Status = "refresh"
// Remove ...
Remove Status = "remove"
+ // Renumber indicates that lock numbers were reallocated at user
+ // request.
+ Renumber Status = "renumber"
// Restore ...
Restore Status = "restore"
// Save ...