summaryrefslogtreecommitdiff
path: root/libpod/pod.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-13 18:12:40 +0200
committerGitHub <noreply@github.com>2019-06-13 18:12:40 +0200
commit031280cfe4ea1f96967539b22bb24515395e6f29 (patch)
tree8f63e4a35f291e73c1e2d26bd9e2f58a0e067a23 /libpod/pod.go
parentf628a97be5b142878ab624776505aed315607f12 (diff)
parent7b7853d8c789cd452ecca86ec28ef2c2dace570d (diff)
downloadpodman-031280cfe4ea1f96967539b22bb24515395e6f29.tar.gz
podman-031280cfe4ea1f96967539b22bb24515395e6f29.tar.bz2
podman-031280cfe4ea1f96967539b22bb24515395e6f29.zip
Merge pull request #3319 from mheon/purge_easyjson
Purge all use of easyjson and ffjson in libpod
Diffstat (limited to 'libpod/pod.go')
-rw-r--r--libpod/pod.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/pod.go b/libpod/pod.go
index 4ce697402..c319c449f 100644
--- a/libpod/pod.go
+++ b/libpod/pod.go
@@ -18,7 +18,6 @@ import (
// assume their callers handled this requirement. Generally speaking, if a
// function takes the pod lock and accesses any part of state, it should
// updatePod() immediately after locking.
-// ffjson: skip
// Pod represents a group of containers that may share namespaces
type Pod struct {
config *PodConfig
@@ -30,7 +29,6 @@ type Pod struct {
}
// PodConfig represents a pod's static configuration
-// easyjson:json
type PodConfig struct {
ID string `json:"id"`
Name string `json:"name"`
@@ -66,7 +64,6 @@ type PodConfig struct {
}
// podState represents a pod's state
-// easyjson:json
type podState struct {
// CgroupPath is the path to the pod's CGroup
CgroupPath string `json:"cgroupPath"`
@@ -77,7 +74,6 @@ type podState struct {
// PodInspect represents the data we want to display for
// podman pod inspect
-// easyjson:json
type PodInspect struct {
Config *PodConfig
State *PodInspectState
@@ -85,14 +81,12 @@ type PodInspect struct {
}
// PodInspectState contains inspect data on the pod's state
-// easyjson:json
type PodInspectState struct {
CgroupPath string `json:"cgroupPath"`
InfraContainerID string `json:"infraContainerID"`
}
// PodContainerInfo keeps information on a container in a pod
-// easyjson:json
type PodContainerInfo struct {
ID string `json:"id"`
State string `json:"state"`