summaryrefslogtreecommitdiff
path: root/libpod/define/container_inspect.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-12 14:02:32 -0500
committerGitHub <noreply@github.com>2021-01-12 14:02:32 -0500
commit265ec914d3a2286c0e4070842c942c1fee0dd7df (patch)
tree8534f209fadf6489b1a9fb05a67242c7aaee7494 /libpod/define/container_inspect.go
parentdb52828621261e631f6db3c1bcf17aa10b46bd48 (diff)
parentbefd40b57d4e99cccd32ba6867a85c1da816fe5e (diff)
downloadpodman-265ec914d3a2286c0e4070842c942c1fee0dd7df.tar.gz
podman-265ec914d3a2286c0e4070842c942c1fee0dd7df.tar.bz2
podman-265ec914d3a2286c0e4070842c942c1fee0dd7df.zip
Merge pull request #8950 from mheon/exorcise_driver
Exorcise Driver code from libpod/define
Diffstat (limited to 'libpod/define/container_inspect.go')
-rw-r--r--libpod/define/container_inspect.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/libpod/define/container_inspect.go b/libpod/define/container_inspect.go
index c61f7c159..9a93e2ffd 100644
--- a/libpod/define/container_inspect.go
+++ b/libpod/define/container_inspect.go
@@ -4,7 +4,6 @@ import (
"time"
"github.com/containers/image/v5/manifest"
- "github.com/containers/podman/v2/libpod/driver"
)
// InspectContainerConfig holds further data about how a container was initially
@@ -635,7 +634,7 @@ type InspectContainerData struct {
EffectiveCaps []string `json:"EffectiveCaps"`
BoundingCaps []string `json:"BoundingCaps"`
ExecIDs []string `json:"ExecIDs"`
- GraphDriver *driver.Data `json:"GraphDriver"`
+ GraphDriver *DriverData `json:"GraphDriver"`
SizeRw *int64 `json:"SizeRw,omitempty"`
SizeRootFs int64 `json:"SizeRootFs,omitempty"`
Mounts []InspectMount `json:"Mounts"`
@@ -700,3 +699,9 @@ type InspectExecProcess struct {
// User is the user the exec session was started as.
User string `json:"user"`
}
+
+// DriverData handles the data for a storage driver
+type DriverData struct {
+ Name string `json:"Name"`
+ Data map[string]string `json:"Data"`
+}