summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/containers.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2020-12-23 11:02:52 -0600
committerbaude <bbaude@redhat.com>2020-12-23 12:01:46 -0600
commitc81e29525b0ea84107147d92283c2b88909d1f12 (patch)
treee88e9e8d36811858ecfa026b9ed280f50ee83bae /pkg/domain/entities/containers.go
parent54b82a175f16f27849e6791f65bf73eccae4701a (diff)
downloadpodman-c81e29525b0ea84107147d92283c2b88909d1f12.tar.gz
podman-c81e29525b0ea84107147d92283c2b88909d1f12.tar.bz2
podman-c81e29525b0ea84107147d92283c2b88909d1f12.zip
add --cidfile to container kill
Add the ability to read container ids from one or more files for the kill command. Fixes: #8443 Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/domain/entities/containers.go')
-rw-r--r--pkg/domain/entities/containers.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/domain/entities/containers.go b/pkg/domain/entities/containers.go
index 4442c0030..b8d49d067 100644
--- a/pkg/domain/entities/containers.go
+++ b/pkg/domain/entities/containers.go
@@ -104,9 +104,10 @@ type TopOptions struct {
}
type KillOptions struct {
- All bool
- Latest bool
- Signal string
+ All bool
+ Latest bool
+ Signal string
+ CIDFiles []string
}
type KillReport struct {