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:
baude 2017-09-13 15:56:27 -05:00
parent e2c87f515b
commit 7b062cf4c1
10 changed files with 322 additions and 0 deletions

View file

@ -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