summaryrefslogtreecommitdiff
path: root/libpod/events/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/events/config.go')
-rw-r--r--libpod/events/config.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/libpod/events/config.go b/libpod/events/config.go
index 2e7016136..4ea45a00e 100644
--- a/libpod/events/config.go
+++ b/libpod/events/config.go
@@ -2,9 +2,8 @@ package events
import (
"context"
+ "errors"
"time"
-
- "github.com/pkg/errors"
)
// EventerType ...
@@ -40,6 +39,8 @@ type Event struct {
Time time.Time
// Type of event that occurred
Type Type
+ // Health status of the current container
+ HealthStatus string `json:"health_status,omitempty"`
Details
}
@@ -141,6 +142,8 @@ const (
Exited Status = "died"
// Export ...
Export Status = "export"
+ // HealthStatus ...
+ HealthStatus Status = "health_status"
// History ...
History Status = "history"
// Import ...