summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-19 19:46:18 -0400
committerGitHub <noreply@github.com>2022-04-19 19:46:18 -0400
commitbc8d8737b760a1f42a9208c6067d2e163817d5f0 (patch)
tree274880a2de6b3dec2ca9aabcf23a18cc28922447
parent9d2ad5b8394935092f0824067ceb1805253372e8 (diff)
parenta2077e5eae271ec7a5288a5e72f30e96ee4df45b (diff)
downloadpodman-bc8d8737b760a1f42a9208c6067d2e163817d5f0.tar.gz
podman-bc8d8737b760a1f42a9208c6067d2e163817d5f0.tar.bz2
podman-bc8d8737b760a1f42a9208c6067d2e163817d5f0.zip
Merge pull request #13921 from rhatdan/rename
Add missing events to podman-events man page
-rw-r--r--cmd/podman/common/completion.go8
-rw-r--r--docs/source/markdown/podman-events.1.md9
2 files changed, 12 insertions, 5 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go
index 1c0065006..3d36162ee 100644
--- a/cmd/podman/common/completion.go
+++ b/cmd/podman/common/completion.go
@@ -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{
diff --git a/docs/source/markdown/podman-events.1.md b/docs/source/markdown/podman-events.1.md
index 741aca3a5..5d5199e66 100644
--- a/docs/source/markdown/podman-events.1.md
+++ b/docs/source/markdown/podman-events.1.md
@@ -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: