aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/system.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-07 19:00:57 +0200
committerGitHub <noreply@github.com>2020-04-07 19:00:57 +0200
commit8289805f5dce862219c0b124547a898766a0b55c (patch)
treece711014576d651d4ca5fa64119a7ed5902ea5dc /pkg/domain/infra/tunnel/system.go
parent44f910c28cae178eab9ad439587355fa4927dab7 (diff)
parent013ecca8959f94cd97ee694676eeda6439ad38b7 (diff)
downloadpodman-8289805f5dce862219c0b124547a898766a0b55c.tar.gz
podman-8289805f5dce862219c0b124547a898766a0b55c.tar.bz2
podman-8289805f5dce862219c0b124547a898766a0b55c.zip
Merge pull request #5738 from baude/v2info
podmanv2 info
Diffstat (limited to 'pkg/domain/infra/tunnel/system.go')
-rw-r--r--pkg/domain/infra/tunnel/system.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/domain/infra/tunnel/system.go b/pkg/domain/infra/tunnel/system.go
index 5bafef1fe..5d6346234 100644
--- a/pkg/domain/infra/tunnel/system.go
+++ b/pkg/domain/infra/tunnel/system.go
@@ -1 +1,12 @@
package tunnel
+
+import (
+ "context"
+
+ "github.com/containers/libpod/libpod/define"
+ "github.com/containers/libpod/pkg/bindings/system"
+)
+
+func (ic *ContainerEngine) Info(ctx context.Context) (*define.Info, error) {
+ return system.Info(ic.ClientCxt)
+}