mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +08:00
Podman info output plugin information
For docker compat include information about available volume, log and network drivers which should be listed under the plugins key. Fixes #11265 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user