Add kpod pause
and kpod unpause
Implement the ability to pause and unpause running containers. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
parent
45747cc5d0
commit
9db7cf1370
13 changed files with 444 additions and 11 deletions
|
@ -349,6 +349,14 @@ _kpod_export() {
|
|||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_kpod_pause() {
|
||||
local options_with_args="
|
||||
--help -h
|
||||
"
|
||||
local boolean_options=""
|
||||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_kpod_ps() {
|
||||
local options_with_args="
|
||||
--filter -f
|
||||
|
@ -374,6 +382,14 @@ _kpod_stop() {
|
|||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_kpod_unpause() {
|
||||
local options_with_args="
|
||||
--help -h
|
||||
"
|
||||
local boolean_options=""
|
||||
_complete_ "$options_with_args" "$boolean_options"
|
||||
}
|
||||
|
||||
_complete_() {
|
||||
local options_with_args=$1
|
||||
local boolean_options="$2 -h --help"
|
||||
|
@ -424,6 +440,7 @@ _kpod_kpod() {
|
|||
load
|
||||
logs
|
||||
mount
|
||||
pause
|
||||
ps
|
||||
pull
|
||||
push
|
||||
|
@ -436,6 +453,7 @@ _kpod_kpod() {
|
|||
tag
|
||||
umount
|
||||
unmount
|
||||
unpause
|
||||
version
|
||||
"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue