diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-06 22:04:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 22:04:16 +0200 |
commit | 843fa25890199c04b8419833d39bdedf4ead391c (patch) | |
tree | 42d2d5b7b9c457935c963de6aa601433f1fd734e /pkg/domain/infra/abi/containers.go | |
parent | 7d95e0c47ad7203c6ad3e5a0441a309e5368dc52 (diff) | |
parent | b22254dc8bfdea5153761e93298182286f874bac (diff) | |
download | podman-843fa25890199c04b8419833d39bdedf4ead391c.tar.gz podman-843fa25890199c04b8419833d39bdedf4ead391c.tar.bz2 podman-843fa25890199c04b8419833d39bdedf4ead391c.zip |
Merge pull request #5716 from baude/v2ps
podmanv2 ps
Diffstat (limited to 'pkg/domain/infra/abi/containers.go')
-rw-r--r-- | pkg/domain/infra/abi/containers.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 929c3f335..54f91a189 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -17,6 +17,7 @@ import ( "github.com/containers/libpod/pkg/checkpoint" "github.com/containers/libpod/pkg/domain/entities" "github.com/containers/libpod/pkg/domain/infra/abi/terminal" + "github.com/containers/libpod/pkg/ps" "github.com/containers/libpod/pkg/signal" "github.com/containers/libpod/pkg/specgen" "github.com/containers/libpod/pkg/specgen/generate" @@ -617,3 +618,7 @@ func (ic *ContainerEngine) ContainerStart(ctx context.Context, namesOrIds []stri } return reports, nil } + +func (ic *ContainerEngine) ContainerList(ctx context.Context, options entities.ContainerListOptions) ([]entities.ListContainer, error) { + return ps.GetContainerLists(ic.Libpod, options) +} |