summaryrefslogtreecommitdiff
path: root/libpod/define
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-27 10:55:35 -0400
committerGitHub <noreply@github.com>2022-05-27 10:55:35 -0400
commita550af260a536aeaa35e4b8810971748a6f16f5f (patch)
treec2b0abcb398ab9edcc482129aa8d633232c8a3ce /libpod/define
parentf48bf5808b2d8da423a6d6e53f8e6699ef233d7c (diff)
parente13c5f3a9ec357eaeaebab57a1dad9878764d6f9 (diff)
downloadpodman-a550af260a536aeaa35e4b8810971748a6f16f5f.tar.gz
podman-a550af260a536aeaa35e4b8810971748a6f16f5f.tar.bz2
podman-a550af260a536aeaa35e4b8810971748a6f16f5f.zip
Merge pull request #14383 from jwhonce/wip/info_todo
Add Authorization field to Plugins for Info
Diffstat (limited to 'libpod/define')
-rw-r--r--libpod/define/info.go12
1 files changed, 5 insertions, 7 deletions
diff --git a/libpod/define/info.go b/libpod/define/info.go
index 911fa5c03..c716bec7b 100644
--- a/libpod/define/info.go
+++ b/libpod/define/info.go
@@ -14,7 +14,7 @@ type Info struct {
Version Version `json:"version"`
}
-// HostInfo describes the libpod host
+// SecurityInfo describes the libpod host
type SecurityInfo struct {
AppArmorEnabled bool `json:"apparmorEnabled"`
DefaultCapabilities string `json:"capabilities"`
@@ -64,8 +64,7 @@ type RemoteSocket struct {
Exists bool `json:"exists,omitempty"`
}
-// SlirpInfo describes the slirp executable that
-// is being being used.
+// SlirpInfo describes the slirp executable that is being used
type SlirpInfo struct {
Executable string `json:"executable"`
Package string `json:"package"`
@@ -78,8 +77,7 @@ type IDMappings struct {
UIDMap []idtools.IDMap `json:"uidmap"`
}
-// DistributionInfo describes the host distribution
-// for libpod
+// DistributionInfo describes the host distribution for libpod
type DistributionInfo struct {
Distribution string `json:"distribution"`
Variant string `json:"variant,omitempty"`
@@ -141,8 +139,8 @@ 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"`
+ // Authorization is provided for compatibility, will always be nil as Podman has no daemon
+ Authorization []string `json:"authorization"`
}
type CPUUsage struct {