mirror of https://github.com/containers/podman.git
Add Authorixation field to Plugins for Info
The Authorization field lists the plugins for granting access to the Docker daemon. This field will always be nil for Podman as there is no daemon. The field is included for compatibility. ```release-note NONE ``` [NO NEW TESTS NEEDED] Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
parent
2ce31caa1c
commit
d730f2b254
|
@ -14,7 +14,7 @@ type Info struct {
|
||||||
Version Version `json:"version"`
|
Version Version `json:"version"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// HostInfo describes the libpod host
|
// SecurityInfo describes the libpod host
|
||||||
type SecurityInfo struct {
|
type SecurityInfo struct {
|
||||||
AppArmorEnabled bool `json:"apparmorEnabled"`
|
AppArmorEnabled bool `json:"apparmorEnabled"`
|
||||||
DefaultCapabilities string `json:"capabilities"`
|
DefaultCapabilities string `json:"capabilities"`
|
||||||
|
@ -64,8 +64,7 @@ type RemoteSocket struct {
|
||||||
Exists bool `json:"exists,omitempty"`
|
Exists bool `json:"exists,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SlirpInfo describes the slirp executable that
|
// SlirpInfo describes the slirp executable that is being used
|
||||||
// is being being used.
|
|
||||||
type SlirpInfo struct {
|
type SlirpInfo struct {
|
||||||
Executable string `json:"executable"`
|
Executable string `json:"executable"`
|
||||||
Package string `json:"package"`
|
Package string `json:"package"`
|
||||||
|
@ -78,8 +77,7 @@ type IDMappings struct {
|
||||||
UIDMap []idtools.IDMap `json:"uidmap"`
|
UIDMap []idtools.IDMap `json:"uidmap"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DistributionInfo describes the host distribution
|
// DistributionInfo describes the host distribution for libpod
|
||||||
// for libpod
|
|
||||||
type DistributionInfo struct {
|
type DistributionInfo struct {
|
||||||
Distribution string `json:"distribution"`
|
Distribution string `json:"distribution"`
|
||||||
Variant string `json:"variant,omitempty"`
|
Variant string `json:"variant,omitempty"`
|
||||||
|
@ -141,8 +139,8 @@ type Plugins struct {
|
||||||
Volume []string `json:"volume"`
|
Volume []string `json:"volume"`
|
||||||
Network []string `json:"network"`
|
Network []string `json:"network"`
|
||||||
Log []string `json:"log"`
|
Log []string `json:"log"`
|
||||||
// FIXME what should we do with Authorization, docker seems to return nothing by default
|
// Authorization is provided for compatibility, will always be nil as Podman has no daemon
|
||||||
// Authorization []string `json:"authorization"`
|
Authorization []string `json:"authorization"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CPUUsage struct {
|
type CPUUsage struct {
|
||||||
|
|
Loading…
Reference in New Issue