diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-18 06:02:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 06:02:51 -0400 |
commit | e4e42b28dfef0ffd12f2087048dec61f9cb03976 (patch) | |
tree | ebce391a95795cb5861f55380047923fa7184271 /pkg/domain/entities/pods.go | |
parent | 3b461ed6eb85f329ad163a4f18df3b872fe86f04 (diff) | |
parent | 37f3b191d5318b7d25893eabf4e57b568c326773 (diff) | |
download | podman-e4e42b28dfef0ffd12f2087048dec61f9cb03976.tar.gz podman-e4e42b28dfef0ffd12f2087048dec61f9cb03976.tar.bz2 podman-e4e42b28dfef0ffd12f2087048dec61f9cb03976.zip |
Merge pull request #5733 from sujil02/v2-pod-prune
Add pod prune for api v2
Diffstat (limited to 'pkg/domain/entities/pods.go')
-rw-r--r-- | pkg/domain/entities/pods.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/domain/entities/pods.go b/pkg/domain/entities/pods.go index b280203de..04673ef18 100644 --- a/pkg/domain/entities/pods.go +++ b/pkg/domain/entities/pods.go @@ -147,6 +147,15 @@ func (p PodCreateOptions) ToPodSpecGen(s *specgen.PodSpecGenerator) { s.CgroupParent = p.CGroupParent } +type PodPruneOptions struct { + Force bool `json:"force" schema:"force"` +} + +type PodPruneReport struct { + Err error + Id string +} + type PodTopOptions struct { // CLI flags. ListDescriptors bool |