summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go
index ea6cd2ac4..e748cb84d 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -123,6 +123,7 @@ type Container struct {
// containerState contains the current state of the container
// It is stored on disk in a tmpfs and recreated on reboot
+// easyjson:json
type containerState struct {
// The current state of the running container
State ContainerStatus `json:"state"`
@@ -183,6 +184,7 @@ type containerState struct {
}
// ExecSession contains information on an active exec session
+// easyjson:json
type ExecSession struct {
ID string `json:"id"`
Command []string `json:"command"`
@@ -192,6 +194,7 @@ type ExecSession struct {
// ContainerConfig contains all information that was used to create the
// container. It may not be changed once created.
// It is stored, read-only, on disk
+// easyjson:json
type ContainerConfig struct {
Spec *spec.Spec `json:"spec"`
ID string `json:"id"`