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:
Daniel J Walsh
2022-04-19 15:39:23 -04:00
parent 712c3bb226
commit a2077e5eae
2 changed files with 12 additions and 5 deletions

View File

@ -1057,10 +1057,10 @@ func getStructFields(f reflect.Value, prefix string) []string {
// -> "container=", "event=", "image=", "pod=", "volume=", "type="
func AutocompleteEventFilter(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
eventTypes := func(_ string) ([]string, cobra.ShellCompDirective) {
return []string{"attach", "checkpoint", "cleanup", "commit", "create", "exec",
"export", "import", "init", "kill", "mount", "pause", "prune", "remove",
"restart", "restore", "start", "stop", "sync", "unmount", "unpause",
"pull", "push", "save", "tag", "untag", "refresh", "renumber",
return []string{"attach", "checkpoint", "cleanup", "commit", "connect", "create", "disconnect", "exec",
"exec_died", "exited", "export", "import", "init", "kill", "loadFromArchive", "mount", "pause",
"prune", "pull", "push", "refresh", "remove", "rename", "renumber", "restart", "restore", "save",
"start", "stop", "sync", "tag", "unmount", "unpause", "untag",
}, cobra.ShellCompDirectiveNoFileComp
}
kv := keyValueCompletion{

View File

@ -22,8 +22,12 @@ The *container* event type will report the follow statuses:
* checkpoint
* cleanup
* commit
* connect
* create
* disconnect
* exec
* exec_died
* exited
* export
* import
* init
@ -32,6 +36,7 @@ The *container* event type will report the follow statuses:
* pause
* prune
* remove
* rename
* restart
* restore
* start
@ -50,12 +55,14 @@ The *pod* event type will report the follow statuses:
* unpause
The *image* event type will report the following statuses:
* prune
* loadFromArchive,
* mount
* pull
* push
* remove
* save
* tag
* unmount
* untag
The *system* type will report the following statuses: