mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
Add a podman volume rename command, REST API endpoint, and bindings for renaming volumes. The rename updates both the VolumeConfig and VolumeState tables in a single transaction and moves the volume directory on disk, rolling back if the transaction fails. Renaming an anonymous volume converts it to a named volume. Volumes that are in use, mounted, or backed by a volume plugin or the image driver cannot be renamed. Fixes: #28189 Signed-off-by: MayorFaj <mayorfaj@gmail.com> |
||
|---|---|---|
| .. | ||
| rename.go | ||
| types.go | ||
| types_create_options.go | ||
| types_exists_options.go | ||
| types_inspect_options.go | ||
| types_list_options.go | ||
| types_prune_options.go | ||
| types_remove_options.go | ||
| types_rename_options.go | ||
| volumes.go | ||