aboutsummaryrefslogtreecommitdiff
path: root/libpod/pod.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-02-09 16:02:45 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-12 14:28:07 +0000
commitaa85ae212e4cc23df7a6bafe8992dc76770bac87 (patch)
treed2c44ff85588b4ca88ed668743170737e4ddecf3 /libpod/pod.go
parent363a82e6682f6b7afc6f9159c778e18009cd7c74 (diff)
downloadpodman-aa85ae212e4cc23df7a6bafe8992dc76770bac87.tar.gz
podman-aa85ae212e4cc23df7a6bafe8992dc76770bac87.tar.bz2
podman-aa85ae212e4cc23df7a6bafe8992dc76770bac87.zip
Add pod functions to BoltDB state
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #184 Approved by: baude
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