mirror of
https://github.com/containers/podman.git
synced 2025-07-03 17:27:18 +08:00
Add missing events to podman-events man page
[NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -1057,10 +1057,10 @@ func getStructFields(f reflect.Value, prefix string) []string {
|
|||||||
// -> "container=", "event=", "image=", "pod=", "volume=", "type="
|
// -> "container=", "event=", "image=", "pod=", "volume=", "type="
|
||||||
func AutocompleteEventFilter(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
|
func AutocompleteEventFilter(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
|
||||||
eventTypes := func(_ string) ([]string, cobra.ShellCompDirective) {
|
eventTypes := func(_ string) ([]string, cobra.ShellCompDirective) {
|
||||||
return []string{"attach", "checkpoint", "cleanup", "commit", "create", "exec",
|
return []string{"attach", "checkpoint", "cleanup", "commit", "connect", "create", "disconnect", "exec",
|
||||||
"export", "import", "init", "kill", "mount", "pause", "prune", "remove",
|
"exec_died", "exited", "export", "import", "init", "kill", "loadFromArchive", "mount", "pause",
|
||||||
"restart", "restore", "start", "stop", "sync", "unmount", "unpause",
|
"prune", "pull", "push", "refresh", "remove", "rename", "renumber", "restart", "restore", "save",
|
||||||
"pull", "push", "save", "tag", "untag", "refresh", "renumber",
|
"start", "stop", "sync", "tag", "unmount", "unpause", "untag",
|
||||||
}, cobra.ShellCompDirectiveNoFileComp
|
}, cobra.ShellCompDirectiveNoFileComp
|
||||||
}
|
}
|
||||||
kv := keyValueCompletion{
|
kv := keyValueCompletion{
|
||||||
|
@ -22,8 +22,12 @@ The *container* event type will report the follow statuses:
|
|||||||
* checkpoint
|
* checkpoint
|
||||||
* cleanup
|
* cleanup
|
||||||
* commit
|
* commit
|
||||||
|
* connect
|
||||||
* create
|
* create
|
||||||
|
* disconnect
|
||||||
* exec
|
* exec
|
||||||
|
* exec_died
|
||||||
|
* exited
|
||||||
* export
|
* export
|
||||||
* import
|
* import
|
||||||
* init
|
* init
|
||||||
@ -32,6 +36,7 @@ The *container* event type will report the follow statuses:
|
|||||||
* pause
|
* pause
|
||||||
* prune
|
* prune
|
||||||
* remove
|
* remove
|
||||||
|
* rename
|
||||||
* restart
|
* restart
|
||||||
* restore
|
* restore
|
||||||
* start
|
* start
|
||||||
@ -50,12 +55,14 @@ The *pod* event type will report the follow statuses:
|
|||||||
* unpause
|
* unpause
|
||||||
|
|
||||||
The *image* event type will report the following statuses:
|
The *image* event type will report the following statuses:
|
||||||
* prune
|
* loadFromArchive,
|
||||||
|
* mount
|
||||||
* pull
|
* pull
|
||||||
* push
|
* push
|
||||||
* remove
|
* remove
|
||||||
* save
|
* save
|
||||||
* tag
|
* tag
|
||||||
|
* unmount
|
||||||
* untag
|
* untag
|
||||||
|
|
||||||
The *system* type will report the following statuses:
|
The *system* type will report the following statuses:
|
||||||
|
Reference in New Issue
Block a user