summaryrefslogtreecommitdiff
path: root/libpod/define/info.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-19 17:28:22 -0400
committerGitHub <noreply@github.com>2021-08-19 17:28:22 -0400
commit30b036c5d394bb523fa13074b1731ad4b6259693 (patch)
treefc06af62dcc0bae3c38a32ed444d458bd50e5958 /libpod/define/info.go
parentf988cfe1463f795f51f64e0887ba9dd9fe85b23d (diff)
parent16dfce486b45d5989dcba503cd0797bc7d66bee4 (diff)
downloadpodman-30b036c5d394bb523fa13074b1731ad4b6259693.tar.gz
podman-30b036c5d394bb523fa13074b1731ad4b6259693.tar.bz2
podman-30b036c5d394bb523fa13074b1731ad4b6259693.zip
Merge pull request #11280 from Luap99/info-plugins
Podman info output plugin information
Diffstat (limited to 'libpod/define/info.go')
-rw-r--r--libpod/define/info.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/libpod/define/info.go b/libpod/define/info.go
index de709be74..95c1196dd 100644
--- a/libpod/define/info.go
+++ b/libpod/define/info.go
@@ -8,6 +8,7 @@ type Info struct {
Host *HostInfo `json:"host"`
Store *StoreInfo `json:"store"`
Registries map[string]interface{} `json:"registries"`
+ Plugins Plugins `json:"plugins"`
Version Version `json:"version"`
}
@@ -123,3 +124,11 @@ type ContainerStore struct {
Running int `json:"running"`
Stopped int `json:"stopped"`
}
+
+type Plugins struct {
+ Volume []string `json:"volume"`
+ Network []string `json:"network"`
+ Log []string `json:"log"`
+ // FIXME what should we do with Authorization, docker seems to return nothing by default
+ // Authorization []string `json:"authorization"`
+}