Add support for kpod kill
Kill one or more containers using a user-provided signal. If not signal is provided, KILL is used. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
parent
e2c87f515b
commit
7b062cf4c1
10 changed files with 322 additions and 0 deletions
|
@ -137,6 +137,15 @@ _kpod_inspect() {
|
|||
;;
|
||||
esac
|
||||
}
|
||||
_kpod_kill() {
|
||||
local options_with_args="
|
||||
--signal -s
|
||||
"
|
||||
local boolean_options="
|
||||
--help
|
||||
-h"
|
||||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_kpod_logs() {
|
||||
local options_with_args="
|
||||
|
@ -442,6 +451,7 @@ _kpod_kpod() {
|
|||
images
|
||||
info
|
||||
inspect
|
||||
kill
|
||||
load
|
||||
logs
|
||||
mount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue