summaryrefslogtreecommitdiff
path: root/libpod/pod.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/pod.go')
-rw-r--r--libpod/pod.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/libpod/pod.go b/libpod/pod.go
index ecef8554e..09e003608 100644
--- a/libpod/pod.go
+++ b/libpod/pod.go
@@ -11,13 +11,13 @@ import (
// Pod represents a group of containers that may share namespaces
type Pod struct {
- id string
- name string
- labels map[string]string
+ id string `json:"id"`
+ name string `json:"name"`
+ labels map[string]string `json:"labels"`
- valid bool
- runtime *Runtime
- lock storage.Locker
+ valid bool `json:"-"`
+ runtime *Runtime `json:"-"`
+ lock storage.Locker `json:"-"`
}
// ID retrieves the pod's ID