mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-11 16:37:39 +00:00
Groundwork for compressing the transfer archive: the options themselves, the set of algorithms that may be requested, and the check ExecuteTransfer runs before it does anything else. Nothing acts on them yet. The set of formats is deliberately narrower than what c/image knows. Every entry has to satisfy three things: podman load has to detect and decompress it from the stream alone, c/image has to be able to compress it (it only decompresses bzip2 and xz), and a command line compressor of the same name has to exist for the case where the archive is produced on a remote host. gzip and zstd qualify, and they match the vocabulary --compression-format already uses on podman push. One table drives the accepted formats, their level ranges, and the list offered on the command line, so there is nothing to keep in sync. A transfer between two users on the same machine never crosses a network, so a requested format is reported as ignored there rather than refused. The validation is worded without flag names because it also runs on the API path, where the caller never passed a flag. Signed-off-by: Scott Callaway <github@scottcallaway.co.uk> |
||
|---|---|---|
| .. | ||
| annotations | ||
| api | ||
| auth | ||
| autoupdate | ||
| bindings | ||
| channel | ||
| checkpoint | ||
| copy | ||
| criu | ||
| ctime | ||
| domain | ||
| emulation | ||
| env | ||
| errorhandling | ||
| farm | ||
| fileserver | ||
| inspect | ||
| k8s.io | ||
| logiface | ||
| lookup | ||
| machine | ||
| namespaces | ||
| parallel | ||
| pidhandle | ||
| ps | ||
| rctl | ||
| rootless | ||
| seccomp | ||
| selinux | ||
| signal | ||
| specgen | ||
| specgenutil | ||
| specgenutilexternal | ||
| syncmap | ||
| systemd | ||
| terminal | ||
| trust | ||
| util | ||